From a64a44172e7621950459ca4cae6e48e5da024864 Mon Sep 17 00:00:00 2001 From: zliang Date: Fri, 22 Apr 2022 19:09:16 -0600 Subject: [PATCH] -j instead of -j2 to build with the max number of cores instead of just 2 --- machamp_scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machamp_scripts/build.sh b/machamp_scripts/build.sh index 27ea80630..e05a9b3bd 100755 --- a/machamp_scripts/build.sh +++ b/machamp_scripts/build.sh @@ -2,7 +2,7 @@ # make the build git submodule init && git submodule update -make BUILD_TLS=yes -j2 KEYDB_CFLAGS='-Werror' KEYDB_CXXFLAGS='-Werror' +make BUILD_TLS=yes -j$(nproc) KEYDB_CFLAGS='-Werror' KEYDB_CXXFLAGS='-Werror' # gen-cert ./utils/gen-test-certs.sh \ No newline at end of file