Skip to content

Commit

Permalink
Fix clang build in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
arshajii committed Jan 20, 2024
1 parent 2e90dc2 commit c5a1d86
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Cache Dependencies
id: cache-deps
uses: actions/cache@v2
with:
path: llvm
key: manylinux-llvm

- name: Main
uses: ./.github/actions/build-manylinux

Expand Down Expand Up @@ -130,13 +123,14 @@ jobs:
-DLLVM_ENABLE_LIBEDIT=OFF
cmake --build build-llvm
cmake --install build-llvm --prefix=${OPT}/llvm-codon
echo "LLVM_CMAKE_DIR=$(${OPT}/llvm-codon/bin/llvm-config --cmakedir)" >> $GITHUB_ENV
echo "LLVM_DIR=$(${OPT}/llvm-codon/bin/llvm-config --cmakedir)" >> $GITHUB_ENV
- name: Build Clang
run: |
cmake -S clang -B build-clang -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_INCLUDE_TESTS=OFF \
-DLLVM_ENABLE_LIBEDIT=OFF
-DLLVM_INCLUDE_TESTS=OFF
cmake --build build-clang
cmake --install build-clang --prefix=${OPT}/llvm-codon
Expand Down

0 comments on commit c5a1d86

Please sign in to comment.