Skip to content

Commit

Permalink
Retry macOS-13 wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
niemilau committed Oct 29, 2024
1 parent 7338aa6 commit 369bf9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
cmake_minimum_required(VERSION 3.18)

# Require at least macOS 11 if building for mac. Needed because some c++17 features require 10.15 but cibuildwheel uses 10.9 by default.
# Here we require 11 to be on safe side.
set(MACOSX_DEPLOYMENT_TARGET 11.0)

list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)

include(${CMAKE_SOURCE_DIR}/cmake/GenerateProjectVersion.cmake)
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ test-command = "pytest {project}/python/tests"
build-verbosity = 1
# Always require OMP with cibuildwheel. See cmake.defines above
environment = "WALLGO_REQUIRE_OMP=ON"
macos.environment = "WALLGO_USE_CONAN_OMP=1"
# Require at least macOS 11 since the default 10.9 is too low for some C++17 features
macos.environment = {WALLGO_USE_CONAN_OMP="1", MACOSX_DEPLOYMENT_TARGET="11.0"}
# Only do 64bit manylinux archs for now, some 32bit manylinux archs have issues obtaining CMake during build
linux.archs = ["auto64"]
macos.archs = ["auto"]
Expand Down

0 comments on commit 369bf9a

Please sign in to comment.