Skip to content

Commit 007f817

Browse files
committed
Fix rockylinux by using make
1 parent 64047a6 commit 007f817

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

container/rockylinux9-cuda12/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN dnf -y install epel-release && \
3232
libxml2-devel \
3333
libedit-devel \
3434
python3 \
35-
ninja && \
35+
make && \
3636
dnf clean all
3737

3838
# Download and build LLVM 7.1.0 for all architectures (consistency)
@@ -46,7 +46,7 @@ RUN curl -sSf -L -O https://github.com/llvm/llvm-project/releases/download/llvmo
4646
else \
4747
TARGETS="AArch64;NVPTX"; \
4848
fi && \
49-
cmake -G Ninja \
49+
cmake \
5050
-DCMAKE_BUILD_TYPE=Release \
5151
-DLLVM_TARGETS_TO_BUILD="$TARGETS" \
5252
-DLLVM_BUILD_LLVM_DYLIB=ON \
@@ -60,8 +60,8 @@ RUN curl -sSf -L -O https://github.com/llvm/llvm-project/releases/download/llvmo
6060
-DLLVM_ENABLE_TERMINFO=ON \
6161
-DCMAKE_INSTALL_PREFIX=/usr \
6262
.. && \
63-
ninja -j$(nproc) && \
64-
ninja install && \
63+
make -j$(nproc) && \
64+
make install && \
6565
cd ../.. && \
6666
rm -rf llvm-7.1.0.src* && \
6767
ln -s /usr/bin/llvm-config /usr/bin/llvm-config-7 && \

0 commit comments

Comments
 (0)