File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -250,13 +250,15 @@ jobs:
250
250
brew link --overwrite "$pkg"
251
251
done
252
252
brew upgrade openssl >/dev/null 2>&1
253
+ brew install ninja
253
254
brew upgrade
254
255
255
256
- name : Install deps on Linux
256
257
if : ${{ runner.os == 'Linux' && steps.cache.outputs.cache-hit != 'true' }}
257
258
run : |
258
259
# Install deps
259
260
sudo apt-get update
261
+ sudo apt-get install ninja-build
260
262
sudo apt-get autoremove
261
263
sudo apt-get clean
262
264
@@ -298,8 +300,9 @@ jobs:
298
300
-DLLVM_INCLUDE_EXAMPLES=OFF \
299
301
-DLLVM_INCLUDE_TESTS=OFF \
300
302
-DLLVM_ENABLE_THREADS=OFF \
303
+ -G Ninja \
301
304
../llvm
302
- emmake make clang cling lld gtest_main -j ${{ env.ncpus }}
305
+ emmake ninja clang cling lld gtest_main -j ${{ env.ncpus }}
303
306
else
304
307
# Apply patches
305
308
llvm_vers=$(echo "${{ matrix.clang-runtime }}" | tr '[:lower:]' '[:upper:]')
@@ -324,8 +327,9 @@ jobs:
324
327
-DLLVM_INCLUDE_EXAMPLES=OFF \
325
328
-DLLVM_INCLUDE_TESTS=OFF \
326
329
-DLLVM_ENABLE_THREADS=OFF \
330
+ -G Ninja \
327
331
../llvm
328
- emmake make clang clangInterpreter clangStaticAnalyzerCore lld -j ${{ env.ncpus }}
332
+ emmake ninja clang clangInterpreter clangStaticAnalyzerCore lld -j ${{ env.ncpus }}
329
333
fi
330
334
cd ../
331
335
rm -rf $(find . -maxdepth 1 ! -name "build" ! -name "llvm" ! -name "clang" ! -name ".")
You can’t perform that action at this time.
0 commit comments