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 99 pull_request :
1010 paths :
1111 - .github/workflows/llvm-build.yml
12+ - .github/workflows/llvm-build/almalinux.Dockerfile
13+ - .github/workflows/llvm-build/centos.Dockerfile
1214 workflow_dispatch :
1315
1416env :
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
23ARG llvm_dir=llvm-project
34# Add the cache artifacts and the LLVM source tree to the container
45ADD sccache /sccache
@@ -8,6 +9,7 @@ ENV SCCACHE_CACHE_SIZE="2G"
89
910RUN dnf install --assumeyes llvm-toolset
1011RUN dnf install --assumeyes python38-pip python38-devel git
12+ RUN alternatives --set python3 /usr/bin/python3.8
1113
1214RUN python3 -m pip install --upgrade pip
1315RUN python3 -m pip install --upgrade cmake ninja sccache lit
@@ -26,6 +28,8 @@ RUN cmake -GNinja -Bbuild \
2628 -DCMAKE_CXX_FLAGS="-Wno-everything" \
2729 -DCMAKE_LINKER=lld \
2830 -DCMAKE_INSTALL_PREFIX="/install" \
31+ -DPython3_EXECUTABLE="/usr/bin/python3.8" \
32+ -DPython_EXECUTABLE="/usr/bin/python3.8" \
2933 -DLLVM_BUILD_UTILS=ON \
3034 -DLLVM_BUILD_TOOLS=ON \
3135 -DLLVM_ENABLE_ASSERTIONS=ON \
You can’t perform that action at this time.
0 commit comments