Skip to content

Commit ab33044

Browse files
committed
fix(ci): remove conflicting LLVM 21 headers in workflow setup
Delete `cxxabi.h` and `__cxxabi_config.h` from the LLVM 21 include directory to prevent header conflicts during CI builds.
1 parent 81e9bc7 commit ab33044

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ jobs:
2828
sudo ./llvm.sh 21 all
2929
sudo apt-get install -y cmake ninja-build libgtest-dev llvm-21-dev libclang-21-dev
3030
31+
- name: Fix LLVM 21 Header Conflict
32+
run: |
33+
echo "Removing conflicting cxxabi headers from LLVM include dir..."
34+
sudo rm -f /usr/lib/llvm-21/include/cxxabi.h
35+
sudo rm -f /usr/lib/llvm-21/include/__cxxabi_config.h
36+
3137
- name: Configure CMake
3238
run: |
3339
cmake -B build -G Ninja \

0 commit comments

Comments
 (0)