File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,10 @@ cmake -DCMAKE_INSTALL_PREFIX=${INST_DIR} \
1414 -DLLVM_ENABLE_ASSERTIONS=On \
1515 -DLLVM_ENABLE_PROJECTS=" lld;clang" \
1616 -DCLANG_DEFAULT_PIE_ON_LINUX=OFF \
17+ -GNinja \
1718 ../llvm
18- make -j ` nproc` install
19+ cmake --build .
20+ cmake --install .
1921
2022# clang-format any new files that we've introduced ourselves.
2123cd ..
@@ -28,9 +30,7 @@ git diff --exit-code
2830# https://llvm.org/docs/TestingGuide.html
2931#
3032# This runs unit and integration tests.
31- cd build
32- make -j ` nproc` check-all
33- cd ..
33+ cmake --build build --target check-all
3434
3535# FIXME The commented code below should run the `test-suite` tests, as
3636# described at https://llvm.org/docs/TestSuiteGuide.html.
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ FROM debian:bullseye
22ARG CI_UID
33RUN useradd -m -u ${CI_UID} ci
44RUN apt-get update && \
5- apt-get -y install build-essential curl cmake python3-distutils git
5+ apt-get -y install build-essential curl cmake python3-distutils git \
6+ ninja-build
67WORKDIR /ci
78RUN chown ${CI_UID}:${CI_UID} .
89COPY --chown=${CI_UID}:${CI_UID} . .
You can’t perform that action at this time.
0 commit comments