Skip to content

Commit a12ccdd

Browse files
committed
Fixup: forward correctly LLVM_VERSION to the cibuildwheel env
1 parent f4366a2 commit a12ccdd

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ 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.
41+
# Set LLVM_VERSION for the host to forward to the cibuildwheel
42+
# environment.
4243
env:
4344
LLVM_VERSION: "15.0.7"
44-
CIBW_ENVIRONMENT: "LLVM_VERSION=15.0.7"
4545
run: python -m cibuildwheel --output-dir wheelhouse
4646

4747
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ before-all = [
6464
]
6565

6666
[tool.cibuildwheel.environment]
67+
LLVM_VERSION = "${LLVM_VERSION}"
6768
LLVM_DIR = "_stage/miniconda3/envs/llvmdev-${LLVM_VERSION}"
6869
CLANG_TOOL = "_stage/miniconda3/envs/clang-${LLVM_VERSION}/bin/clang"
6970
USE_CXX11_ABI = "1"

0 commit comments

Comments
 (0)