File tree 2 files changed +6
-5
lines changed 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} \
14
14
-DLLVM_ENABLE_ASSERTIONS=On \
15
15
-DLLVM_ENABLE_PROJECTS=" lld;clang" \
16
16
-DCLANG_DEFAULT_PIE_ON_LINUX=OFF \
17
+ -GNinja \
17
18
../llvm
18
- make -j ` nproc` install
19
+ cmake --build .
20
+ cmake --install .
19
21
20
22
# clang-format any new files that we've introduced ourselves.
21
23
cd ..
@@ -28,9 +30,7 @@ git diff --exit-code
28
30
# https://llvm.org/docs/TestingGuide.html
29
31
#
30
32
# This runs unit and integration tests.
31
- cd build
32
- make -j ` nproc` check-all
33
- cd ..
33
+ cmake --build build --target check-all
34
34
35
35
# FIXME The commented code below should run the `test-suite` tests, as
36
36
# 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
2
2
ARG CI_UID
3
3
RUN useradd -m -u ${CI_UID} ci
4
4
RUN 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
6
7
WORKDIR /ci
7
8
RUN chown ${CI_UID}:${CI_UID} .
8
9
COPY --chown=${CI_UID}:${CI_UID} . .
You can’t perform that action at this time.
0 commit comments