@@ -70,31 +70,35 @@ test-extras = "test"
70
70
test-command = " pytest {project}/tests"
71
71
build-verbosity = 1
72
72
73
+ [tool .cibuildwheel .macos .environment ]
74
+ MACOSX_DEPLOYMENT_TARGET = " 10.10"
75
+
73
76
[tool .cibuildwheel .linux ]
74
- before-all = [
75
- ' ./scripts/manylinux-build-and-install-openssl.sh' ,
76
- ]
77
- environment = { CMAKE_ARGS = " -DOPENSSL_ROOT_DIR:PATH=/usr/local/ssl -DCMAKE_JOB_POOL_COMPILE:STRING=compile -DCMAKE_JOB_POOL_LINK:STRING=link -DCMAKE_JOB_POOLS:STRING=compile=4;link=1 -DCMAKE_CXX_STANDARD:STRING=11" }
77
+ before-all = " ./scripts/manylinux-build-and-install-openssl.sh"
78
78
79
- [[tool .cibuildwheel .overrides ]]
80
- select = [" *-manylinux_aarch64" , " *-manylinux_ppc64le" , " *-manylinux_s390x" ]
81
- # disable tests on those platforms, QEMU is taking to long for jobs to pass on GHA
82
- environment = { CMAKE_ARGS = " -DOPENSSL_ROOT_DIR:PATH=/usr/local/ssl -DCMAKE_JOB_POOL_COMPILE:STRING=compile -DCMAKE_JOB_POOL_LINK:STRING=link -DCMAKE_JOB_POOLS:STRING=compile=4;link=1 -DCMAKE_CXX_STANDARD:STRING=11 -DRUN_CMAKE_TEST:BOOL=OFF" }
79
+ [tool .cibuildwheel .config-settings ]
80
+ config-settings."cmake.define.RUN_CMAKE_TEST" = " ON"
81
+
82
+ [tool .cibuildwheel .linux .config-settings ]
83
+ "cmake.define.OPENSSL_ROOT_DIR" = " /usr/local/ssl"
84
+ "cmake.define.CMAKE_JOB_POOL_COMPILE" = " compile"
85
+ "cmake.define.CMAKE_JOB_POOL_LINK" = " link"
86
+ "cmake.define.CMAKE_JOB_POOLS" = " compile=4;link=1"
87
+ config-settings."cmake.define.RUN_CMAKE_TEST" = " ON"
83
88
84
89
[[tool .cibuildwheel .overrides ]]
85
- select = [" *-musllinux_x86_64" , " *-musllinux_i686" ]
90
+ select = [" *-musllinux_*" ,]
91
+ inherit.config-settings = " append"
86
92
# disable some tests
87
93
# - BootstrapTest fails with custom OpenSSL and probably does not make much sense for this project
88
94
# - ExportImport|RunCMake.install|RunCMake.file-GET_RUNTIME_DEPENDENCIES: c.f. https://discourse.cmake.org/t/cmake-test-suite-failing-on-alpine-linux/5064
89
- environment = { CMAKE_ARGS = " -DOPENSSL_ROOT_DIR:PATH=/usr/local/ssl -DCMAKE_JOB_POOL_COMPILE:STRING=compile -DCMAKE_JOB_POOL_LINK:STRING=link -DCMAKE_JOB_POOLS:STRING=compile=4;link=1 -DRUN_CMAKE_TEST_EXCLUDE:STRING=' BootstrapTest|ExportImport|RunCMake.install|RunCMake.RuntimePath|RunCMake.file-GET_RUNTIME_DEPENDENCIES' " }
95
+ config-settings."cmake.define.RUN_CMAKE_TEST_EXCLUDE" = " BootstrapTest|ExportImport|RunCMake.install|RunCMake.RuntimePath|RunCMake.file-GET_RUNTIME_DEPENDENCIES"
90
96
91
97
[[tool .cibuildwheel .overrides ]]
92
- select = [" *-musllinux_aarch64" , " *-musllinux_ppc64le" , " *-musllinux_s390x" ]
98
+ select = [" *linux_aarch64" , " *linux_ppc64le" , " *linux_s390x" ]
99
+ inherit.config-settings = " append"
93
100
# disable tests on those platforms, QEMU is taking to long for jobs to pass on GHA
94
- environment = { CMAKE_ARGS = " -DOPENSSL_ROOT_DIR:PATH=/usr/local/ssl -DCMAKE_JOB_POOL_COMPILE:STRING=compile -DCMAKE_JOB_POOL_LINK:STRING=link -DCMAKE_JOB_POOLS:STRING=compile=4;link=1 -DRUN_CMAKE_TEST:BOOL=OFF" }
95
-
96
- [tool .cibuildwheel .macos .environment ]
97
- MACOSX_DEPLOYMENT_TARGET = " 10.10"
101
+ config-settings."cmake.define.RUN_CMAKE_TEST" = " OFF"
98
102
99
103
100
104
[tool .ruff ]
0 commit comments