Skip to content

Commit 057ba00

Browse files
committed
Fixup: next attempt to forward LLVM_VERSION to cibuildwheel env
1 parent a12ccdd commit 057ba00

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ local_scheme = "no-local-version"
4646

4747
[tool.cibuildwheel]
4848
archs = ["native"]
49+
# Pass LLVM_VERSION from the host environment to cibuildwheel.
50+
environment-pass = ["LLVM_VERSION"]
4951
# We use miniconda3 to get the clang/llvm toolchain on Linux.
5052
before-all = ["bash buildscripts/cibuildwheel/setup-miniconda3.sh"]
5153
before-build = ["rm -rf build dist src/*.egg-info"]
@@ -64,7 +66,6 @@ before-all = [
6466
]
6567

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

0 commit comments

Comments
 (0)