Skip to content

Commit 340c08f

Browse files
tailoring Conan to generate compatible files
1 parent 063fbff commit 340c08f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build_wheels.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,16 @@ jobs:
230230
if: matrix.os == 'windows-latest'
231231
run:
232232
conan profile detect --force
233-
234-
conan install . --output-folder=build --build=missing
233+
234+
conan install . --output-folder=build --build=missing -s cppstd=17 -s compiler=clang
235235

236236
- name: Build Wheels (Windows)
237237
uses: pypa/[email protected]
238238
if: matrix.os == 'windows-latest'
239239
env:
240+
CC: "clang"
241+
CXX: "clang++"
242+
FC: "flang"
240243
CIBW_BUILD: ${{ matrix.python_version }}
241244
CIBW_ARCHS_WINDOWS: "native"
242245
CIBW_BEFORE_BUILD: "pip install cmake ninja"

0 commit comments

Comments
 (0)