Skip to content

Commit c5ee92d

Browse files
committed
Speed up the build by specifying -j 12
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
1 parent b5ea15f commit c5ee92d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/compare-commits.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dir="build-bench"
4747
function run {
4848
rm -fr ${dir} > /dev/null
4949
cmake -B ${dir} -S . ${CMAKE_OPTS} > /dev/null
50-
cmake --build ${dir} -t $target > /dev/null
50+
cmake --build ${dir} -t $target -j $(nproc) > /dev/null
5151
${dir}/bin/$target $run_args | sqlite3 "$db_file"
5252
}
5353

0 commit comments

Comments
 (0)