Skip to content

Commit 6074124

Browse files
committed
WHY IS IT NOT SETTING THE COMPILER
1 parent 3731499 commit 6074124

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/wheels.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ jobs:
329329
CC: /usr/local/opt/llvm/bin/clang
330330
CXX: /usr/local/opt/llvm/bin/clang++
331331
CIBW_ENVIRONMENT: CC=/usr/local/opt/llvm/bin/clang CXX=/usr/local/opt/llvm/bin/clang++
332+
CMAKE_C_COMPILER: /usr/local/opt/llvm/bin/clang
333+
CMAKE_CXX_COMPILER: /usr/local/opt/llvm/bin/clang++
332334

333335
- name: Build Wheels
334336
if: runner.os == 'Windows'
@@ -350,6 +352,8 @@ jobs:
350352
CC: ${RUNNER_TOOL_CACHE}/llvm/bin/clang
351353
CXX: ${RUNNER_TOOL_CACHE}/llvm/bin/clang++
352354
CIBW_ENVIRONMENT: CC=${RUNNER_TOOL_CACHE}/llvm/bin/clang CXX=${RUNNER_TOOL_CACHE}/llvm/bin/clang++
355+
CMAKE_C_COMPILER: ${RUNNER_TOOL_CACHE}/llvm/bin/clang
356+
CMAKE_CXX_COMPILER: ${RUNNER_TOOL_CACHE}/llvm/bin/clang++
353357

354358
- name: Build Wheels
355359
if: runner.os == 'Linux'

0 commit comments

Comments
 (0)