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

Merge branch 'wheel-313' into 'master'

[ci] Build Python 3.13 wheels

See merge request ogs/ogs!5189
parents d72f48f6 bc2bd16a
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ repository = "https://gitlab.opengeosys.org/ogs/ogs" ...@@ -19,7 +19,7 @@ repository = "https://gitlab.opengeosys.org/ogs/ogs"
changelog = "https://gitlab.opengeosys.org/ogs/ogs/-/blob/master/CHANGELOG.md" changelog = "https://gitlab.opengeosys.org/ogs/ogs/-/blob/master/CHANGELOG.md"
[project.optional-dependencies] [project.optional-dependencies]
test = ["pytest", "numpy<2"] test = ["pytest", "numpy"]
[tool.scikit-build] [tool.scikit-build]
build-dir = "_skbuild/{wheel_tag}" build-dir = "_skbuild/{wheel_tag}"
...@@ -53,7 +53,7 @@ python_files = ["test_*.py"] ...@@ -53,7 +53,7 @@ python_files = ["test_*.py"]
[tool.cibuildwheel] [tool.cibuildwheel]
archs = "auto64" archs = "auto64"
build = ["cp3{9,10,11,12}-*"] build = ["cp3{9,10,11,12,13}-*"]
skip = ["*musllinux*"] skip = ["*musllinux*"]
test-extras = "test" test-extras = "test"
test-command = "pytest {project}/Tests/Python" test-command = "pytest {project}/Tests/Python"
......
...@@ -122,7 +122,7 @@ if(COMPILER_IS_GCC OR COMPILER_IS_CLANG OR COMPILER_IS_INTEL) ...@@ -122,7 +122,7 @@ if(COMPILER_IS_GCC OR COMPILER_IS_CLANG OR COMPILER_IS_INTEL)
add_compile_options(-xHOST) add_compile_options(-xHOST)
endif() endif()
# Linker: prefer lld > gold > regular # Linker: prefer mold > lld > gold > regular
foreach(linker mold lld gold) foreach(linker mold lld gold)
execute_process( execute_process(
COMMAND ${CMAKE_CXX_COMPILER} -fuse-ld=${linker} -Wl,--version COMMAND ${CMAKE_CXX_COMPILER} -fuse-ld=${linker} -Wl,--version
...@@ -132,7 +132,7 @@ if(COMPILER_IS_GCC OR COMPILER_IS_CLANG OR COMPILER_IS_INTEL) ...@@ -132,7 +132,7 @@ if(COMPILER_IS_GCC OR COMPILER_IS_CLANG OR COMPILER_IS_INTEL)
add_link_options(-fuse-ld=lld) add_link_options(-fuse-ld=lld)
message(STATUS "Using lld linker. (${_linker_version})") message(STATUS "Using lld linker. (${_linker_version})")
break() break()
elseif("${_linker_version}" MATCHES "GNU gold") elseif("${_linker_version}" MATCHES "GNU gold" AND NOT OGS_BUILD_WHEEL)
add_link_options(-fuse-ld=gold) add_link_options(-fuse-ld=gold)
message(STATUS "Using GNU gold linker. (${_linker_version})") message(STATUS "Using GNU gold linker. (${_linker_version})")
break() break()
......
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