Skip to content

Commit

Permalink
Further reduce the chance of cmake runs
Browse files Browse the repository at this point in the history
  • Loading branch information
kumasento committed Sep 13, 2021
1 parent e5dd691 commit 7fb1e03
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/build-llvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,8 @@ if [ ! -f "CMakeCache.txt" ]; then
fi

# Run building
cmake --build . --target all -- -j "$(nproc)"
if [ "${CMAKE_GENERATOR}" == "Ninja" ]; then
ninja
else
make -j "$(nproc)"
fi

0 comments on commit 7fb1e03

Please sign in to comment.