File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ if [[ ${USE_MEMORY_SANITIZER} == "true" ]]; then
51
51
-DLLVM_ENABLE_RUNTIMES=" compiler-rt;libcxx;libcxxabi;libunwind" \
52
52
-S /msan/llvm-project/llvm
53
53
54
- ninja -C /msan/clang_build/ " $MAKEJOBS "
54
+ ninja -C /msan/clang_build/ " -j $( nproc ) " # Use nproc, because MAKEJOBS is the default in docker image builds
55
55
ninja -C /msan/clang_build/ install-runtimes
56
56
57
57
update-alternatives --install /usr/bin/clang++ clang++ /msan/clang_build/bin/clang++ 100
@@ -69,13 +69,13 @@ if [[ ${USE_MEMORY_SANITIZER} == "true" ]]; then
69
69
-DLIBCXX_HARDENING_MODE=debug \
70
70
-S /msan/llvm-project/runtimes
71
71
72
- ninja -C /msan/cxx_build/ " $MAKEJOBS "
72
+ ninja -C /msan/cxx_build/ " -j $( nproc ) " # Use nproc, because MAKEJOBS is the default in docker image builds
73
73
fi
74
74
75
75
if [[ " ${RUN_TIDY} " == " true" ]]; then
76
76
git clone --depth=1 https://github.com/include-what-you-use/include-what-you-use -b clang_16 /include-what-you-use
77
77
cmake -B /iwyu-build/ -G ' Unix Makefiles' -DCMAKE_PREFIX_PATH=/usr/lib/llvm-16 -S /include-what-you-use
78
- make -C /iwyu-build/ install " $MAKEJOBS "
78
+ make -C /iwyu-build/ install " -j $( nproc ) " # Use nproc, because MAKEJOBS is the default in docker image builds
79
79
fi
80
80
81
81
mkdir -p " ${DEPENDS_DIR} /SDKs" " ${DEPENDS_DIR} /sdk-sources"
You can’t perform that action at this time.
0 commit comments