Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 116a81d

Browse files
committedNov 1, 2021
use the CMAKE_BUILD_PARALLEL_LEVEL
1 parent f7e863d commit 116a81d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎build.libgit2.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ mkdir libgit2/build
1818
pushd libgit2/build
1919

2020
cmake -DCMAKE_BUILD_TYPE:STRING=Release \
21+
-DCMAKE_BUILD_PARALLEL_LEVEL=16 \
2122
-DBUILD_CLAR:BOOL=OFF \
2223
-DUSE_SSH=OFF \
2324
-DENABLE_TRACE=ON \
@@ -26,7 +27,7 @@ cmake -DCMAKE_BUILD_TYPE:STRING=Release \
2627
-DUSE_HTTPS=$USEHTTPS \
2728
-DUSE_BUNDLED_ZLIB=ON \
2829
..
29-
cmake --build . --config Release -- -j 16
30+
cmake --build .
3031

3132
popd
3233

0 commit comments

Comments
 (0)
Please sign in to comment.