Skip to content

Commit

Permalink
Make test run for delocate.
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater committed Jun 3, 2024
1 parent a3024d9 commit b9e5d96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ include(CheckCXXCompilerFlag)
# Shared / Dynamic?
# If set from outside, use that.
# If we are in wheel mode, force shared for Python reasons.
if(DEFINED ENV{CIBUILDWHEEL})
set(BUILD_SHARED_LIBS ON CACHE STRING "Build shared libraries?")
endif()
# if(DEFINED ENV{CIBUILDWHEEL})
# set(BUILD_SHARED_LIBS ON CACHE STRING "Build shared libraries?")
# endif()

# Effectively adds '-fpic' flag to CXX_FLAGS. Needed for dynamic catalogues.
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,13 @@ build-frontend = "build"
build = ["*linux*","*macosx*"]
skip = ["cp36*", "cp37*", "cp38*", "*musllinux*"]
test-command = "python -m unittest discover -v -s {project}/python"
repair-wheel-command = "cp {wheel} {dest_dir}"
dependency-versions = "latest"

[tool.cibuildwheel.macos]
archs = ["universal2"]
environment = { MACOSX_DEPLOYMENT_TARGET = "12.0.1" }
repair-wheel-command = "cp {wheel} {dest_dir}"

[tool.cibuildwheel.linux]
archs = ["x86_64"]
Expand Down

0 comments on commit b9e5d96

Please sign in to comment.