Skip to content
Snippets Groups Projects
Verified Commit f549f10f authored by Lars Bilke's avatar Lars Bilke
Browse files

[wheel,ci] Fix Windows build.

parent 879e8b42
No related branches found
No related tags found
No related merge requests found
...@@ -80,6 +80,9 @@ skip = ["cp36-*", "cp37-*"] ...@@ -80,6 +80,9 @@ skip = ["cp36-*", "cp37-*"]
[tool.cibuildwheel.windows.config-settings] [tool.cibuildwheel.windows.config-settings]
"cmake.define.OGS_USE_MFRONT" = "OFF" "cmake.define.OGS_USE_MFRONT" = "OFF"
"cmake.define.OGS_BUILD_PROCESS_TH2M" = "OFF" "cmake.define.OGS_BUILD_PROCESS_TH2M" = "OFF"
# Generator needs to be set here, CMAKE_GENERATOR env var does not work.
# Ninja generator does not select the host64 compiler.
"cmake.args" = "-G;Visual Studio 16 2019;--preset;wheel"
[tool.ruff] [tool.ruff]
select = [ select = [
......
...@@ -57,9 +57,6 @@ build wheels win: ...@@ -57,9 +57,6 @@ build wheels win:
- .vs2019-environment - .vs2019-environment
variables: variables:
SKBUILD_BUILD_OPTIONS: "/m" # TODO not supported yet in scikit-build-core SKBUILD_BUILD_OPTIONS: "/m" # TODO not supported yet in scikit-build-core
CMAKE_GENERATOR: "Visual Studio 16 2019"
# Does not work as it does not select the host64 compiler:
# SKBUILD_GENERATOR: "Ninja"
<<: *wheels_template <<: *wheels_template
publish wheels: publish wheels:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment