Skip to content

Commit 10a5c01

Browse files
tailoring Conan to generate compatible files
1 parent 063fbff commit 10a5c01

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build_wheels.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,15 @@ jobs:
230230
if: matrix.os == 'windows-latest'
231231
run:
232232
conan profile detect --force
233-
234-
conan install . --output-folder=build --build=missing
233+
conan install . --output-folder=build --build=missing -s cppstd=17 -s compiler="Visual Studio" -s toolset=llvm
235234

236235
- name: Build Wheels (Windows)
237236
uses: pypa/[email protected]
238237
if: matrix.os == 'windows-latest'
239238
env:
239+
CC: "clang"
240+
CXX: "clang++"
241+
FC: "flang"
240242
CIBW_BUILD: ${{ matrix.python_version }}
241243
CIBW_ARCHS_WINDOWS: "native"
242244
CIBW_BEFORE_BUILD: "pip install cmake ninja"

0 commit comments

Comments
 (0)