Skip to content

Commit

Permalink
Use CMake 3.28 from upstream to build LLVM
Browse files Browse the repository at this point in the history
New LLVM requires CMake >= 3.20 to build, while the one in CentOS 7 repo
is 3.17.5.
  • Loading branch information
tienntr committed Dec 15, 2023
1 parent 59390fd commit 501e6fb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-centos7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ jobs:
bison flex texinfo patchutils zlib-devel expat-devel \
python-devel \
ninja-build dtc glib2-devel \
cmake3 devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-make \
devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-make \
git236-core
curl -Lo cmake.sh https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0-linux-x86_64.sh && \
chmod +x cmake.sh && \
./cmake.sh --skip-license --prefix=/usr && \
rm -f cmake.sh
- uses: actions/checkout@v3

Expand Down

0 comments on commit 501e6fb

Please sign in to comment.