Skip to content

Commit 0fff928

Browse files
committed
Fix rockylinux by using make
1 parent 64047a6 commit 0fff928

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

container/rockylinux9-cuda12/Dockerfile

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

38-
# Download and build LLVM 7.1.0 for all architectures (consistency)
38+
# Download and build LLVM 7.1.0 for all architectures
3939
RUN curl -sSf -L -O https://github.com/llvm/llvm-project/releases/download/llvmorg-7.1.0/llvm-7.1.0.src.tar.xz && \
4040
tar -xf llvm-7.1.0.src.tar.xz && \
4141
cd llvm-7.1.0.src && \
@@ -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 && \

container/ubuntu22-cuda11/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -qq -y install \
3535
ninja-build && \
3636
rm -rf /var/lib/apt/lists/*
3737

38-
# Download and build LLVM 7.1.0 for all architectures (consistency)
38+
# Download and build LLVM 7.1.0 for all architectures
3939
RUN curl -sSf -L -O https://github.com/llvm/llvm-project/releases/download/llvmorg-7.1.0/llvm-7.1.0.src.tar.xz && \
4040
tar -xf llvm-7.1.0.src.tar.xz && \
4141
cd llvm-7.1.0.src && \

container/ubuntu22-cuda12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -qq -y install \
3535
ninja-build && \
3636
rm -rf /var/lib/apt/lists/*
3737

38-
# Download and build LLVM 7.1.0 for all architectures (consistency)
38+
# Download and build LLVM 7.1.0 for all architectures
3939
RUN curl -sSf -L -O https://github.com/llvm/llvm-project/releases/download/llvmorg-7.1.0/llvm-7.1.0.src.tar.xz && \
4040
tar -xf llvm-7.1.0.src.tar.xz && \
4141
cd llvm-7.1.0.src && \

container/ubuntu24-cuda12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -qq -y install \
3535
ninja-build && \
3636
rm -rf /var/lib/apt/lists/*
3737

38-
# Download and build LLVM 7.1.0 for all architectures (consistency)
38+
# Download and build LLVM 7.1.0 for all architectures
3939
RUN curl -sSf -L -O https://github.com/llvm/llvm-project/releases/download/llvmorg-7.1.0/llvm-7.1.0.src.tar.xz && \
4040
tar -xf llvm-7.1.0.src.tar.xz && \
4141
cd llvm-7.1.0.src && \

0 commit comments

Comments
 (0)