Skip to content

Commit

Permalink
[CI] Manually setup LLVM because Custom build doesn't include llvm-co…
Browse files Browse the repository at this point in the history
…nfig.exe (#3655)
  • Loading branch information
ptitSeb authored Mar 7, 2023
1 parent 202d9f1 commit a232fbf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,14 @@ jobs:
mkdir -p ${LLVM_DIR}
curl --proto '=https' --tlsv1.2 -sSf "${{ matrix.llvm_url }}" -L -o - | tar xJv -C ${LLVM_DIR}
echo "${LLVM_DIR}/bin" >> $GITHUB_PATH
echo "${LLVM_DIR}/usr/bin" >> $GITHUB_PATH
env:
LLVM_DIR: .llvm
- name: Configure LLVM (Windows)
# The Custom Windows build does not contains llvm-config.exe, so need to setup manualy here
if: matrix.os == 'windows-x64' && matrix.llvm_url
run: |
echo LLVM_SYS_14_PREFIX="${LLVM_DIR}" >> $GITHUB_ENV
echo LLVM_ENABLE=1 >> $GITHUB_ENV
env:
LLVM_DIR: .llvm
- name: Set up dependencies for Mac OS
Expand Down

0 comments on commit a232fbf

Please sign in to comment.