Skip to content

Commit f4366a2

Browse files
committed
Fixup: fix setting LLVM_VERSION for the host and cibuildwheel envs
1 parent a90cb72 commit f4366a2

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/build-upload-wheels.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
run: python -m pip install cibuildwheel==3.1.4
3939

4040
- name: Build wheels {{ matrix.os }}
41+
# Set LLVM_VERSION for the host and cibuildwheel environment.
4142
env:
4243
LLVM_VERSION: "15.0.7"
43-
run: |
44-
python -m cibuildwheel --output-dir wheelhouse
45-
44+
CIBW_ENVIRONMENT: "LLVM_VERSION=15.0.7"
45+
run: python -m cibuildwheel --output-dir wheelhouse
4646

4747
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
4848
with:
@@ -57,6 +57,8 @@ jobs:
5757
fetch-depth: 0
5858

5959
- name: Build sdist
60+
env:
61+
LLVM_VERSION: "15.0.7"
6062
run: pipx run build --sdist
6163

6264
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02

0 commit comments

Comments
 (0)