File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 9
9
pull_request :
10
10
paths :
11
11
- .github/workflows/llvm-build.yml
12
+ - .github/workflows/llvm-build/almalinux.Dockerfile
13
+ - .github/workflows/llvm-build/centos.Dockerfile
12
14
workflow_dispatch :
13
15
14
16
env :
Original file line number Diff line number Diff line change 1
- FROM almalinux:8
1
+ # https://github.com/AlmaLinux/container-images/blob/9f9b3c8c8cf4a57fd42f362570ff47c75788031f/default/amd64/Dockerfile
2
+ FROM almalinux:8.10-20250411
2
3
ARG llvm_dir=llvm-project
3
4
# Add the cache artifacts and the LLVM source tree to the container
4
5
ADD sccache /sccache
@@ -8,6 +9,7 @@ ENV SCCACHE_CACHE_SIZE="2G"
8
9
9
10
RUN dnf install --assumeyes llvm-toolset
10
11
RUN dnf install --assumeyes python38-pip python38-devel git
12
+ RUN alternatives --set python3 /usr/bin/python3.8
11
13
12
14
RUN python3 -m pip install --upgrade pip
13
15
RUN python3 -m pip install --upgrade cmake ninja sccache lit
@@ -26,6 +28,8 @@ RUN cmake -GNinja -Bbuild \
26
28
-DCMAKE_CXX_FLAGS="-Wno-everything" \
27
29
-DCMAKE_LINKER=lld \
28
30
-DCMAKE_INSTALL_PREFIX="/install" \
31
+ -DPython3_EXECUTABLE="/usr/bin/python3.8" \
32
+ -DPython_EXECUTABLE="/usr/bin/python3.8" \
29
33
-DLLVM_BUILD_UTILS=ON \
30
34
-DLLVM_BUILD_TOOLS=ON \
31
35
-DLLVM_ENABLE_ASSERTIONS=ON \
You can’t perform that action at this time.
0 commit comments