Skip to content

Commit

Permalink
Set env var when building wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
rtabbara committed Oct 2, 2024
1 parent c2cd7dc commit 8c19012
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ jobs:
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: "11.0"
version: "17.0"

- name: Set DRJIT_LIBLLVM_PATH (Unix)
if: ${{ runner.os != 'Windows' }}
run: |
echo "DRJIT_LIBLLVM_PATH=${{ env.LLVM_PATH }}/lib/libLLVM-11.so" >> $GITHUB_ENV
echo "DRJIT_LIBLLVM_PATH=${{ env.LLVM_PATH }}/lib/libLLVM-17.so" >> $GITHUB_ENV
- name: Set DRJIT_LIBLLVM_PATH (Windows)
if: ${{ runner.os == 'Windows' }}
Expand Down Expand Up @@ -107,6 +107,8 @@ jobs:
# Build and store wheels
#########################
- name: Build wheel
env: |
DRJIT_LIBLLVM_PATH: ${{ env.DRJIT_LIBLLVM_PATH }}
run: |
python -m cibuildwheel --output-dir wheelhouse
Expand Down

0 comments on commit 8c19012

Please sign in to comment.