Skip to content

Commit 577fa3d

Browse files
committed
Try a different way to pass vars fo cibuildwheel
1 parent 2d8d2c8 commit 577fa3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-wheel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,11 @@ jobs:
138138
CIBW_ENVIRONMENT_LINUX: >
139139
CUDA_PATH=/host/${{ env.CUDA_PATH }}
140140
CUDA_PYTHON_PARALLEL_LEVEL=${{ env.CUDA_PYTHON_PARALLEL_LEVEL }}
141+
CC=/host$(which sccache) cc
142+
CXX=/host$(which sccache) c++
141143
CIBW_ENVIRONMENT_WINDOWS: >
142144
CUDA_PATH="$(cygpath -w ${{ env.CUDA_PATH }})"
143145
CUDA_PYTHON_PARALLEL_LEVEL=${{ env.CUDA_PYTHON_PARALLEL_LEVEL }}
144-
CC: sccache gcc
145-
CXX: sccache g++
146146
- name: List the cuda.bindings artifacts directory
147147
run: |
148148
if [[ "${{ inputs.host-platform }}" == win* ]]; then

0 commit comments

Comments
 (0)