Skip to content

Commit

Permalink
Install LLVM 17 when building with Clang
Browse files Browse the repository at this point in the history
This addresses compile time issues due to a segfault in Clang 14
  • Loading branch information
matthew-mccall authored Jul 19, 2024
1 parent 3b5757c commit 2b3e00f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ jobs:
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Install LLVM 17
if: ${{ matrix.c_compiler == 'clang-17' }}
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 17
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
Expand Down

0 comments on commit 2b3e00f

Please sign in to comment.