make automated-benchmarking faster

by employing parallel compilation of object files.
This commit is contained in:
Yann Collet 2021-09-08 15:12:28 -07:00
parent b7f46ebc23
commit 5449ede2e6

View File

@ -87,7 +87,7 @@ def clone_and_build(build):
git clone {github_url} zstd-{user}-{sha} && git clone {github_url} zstd-{user}-{sha} &&
cd zstd-{user}-{sha} && cd zstd-{user}-{sha} &&
{checkout_command} {checkout_command}
make && make -j &&
cd ../ cd ../
""".format( """.format(
user=build["user"], user=build["user"],
@ -100,7 +100,7 @@ def clone_and_build(build):
) )
return "zstd-{user}-{sha}/zstd".format(user=build["user"], sha=build["hash"]) return "zstd-{user}-{sha}/zstd".format(user=build["user"], sha=build["hash"])
else: else:
os.system("cd ../ && make && cd tests") os.system("cd ../ && make -j && cd tests")
return "../zstd" return "../zstd"