Skip to content

Commit

Permalink
Wheel: MACOS skip stubgen for x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
HaarigerHarald committed Dec 29, 2024
1 parent ed63041 commit 93adaca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,8 @@ jobs:
make install
CIBW_ENVIRONMENT_MACOS: >
CXXFLAGS='-fPIC' CFLAGS='-fPIC' MACOSX_DEPLOYMENT_TARGET=10.15
${{ matrix.config.arch == 'arm64' && 'SKIP_PYBIND11_STUBGEN=1' || '' }}
${{ matrix.config.arch == 'x86_64' && 'SKIP_PYBIND11_STUBGEN=1' || '' }}
CIBW_BEFORE_ALL_MACOS: >
brew install cmake &&
sed -i '' 's/target_link_libraries.*/target_link_libraries(geant4_pybind PRIVATE ${Geant4_LIBRARIES} curl)/'
"{package}/source/CMakeLists.txt" &&
Expand Down

0 comments on commit 93adaca

Please sign in to comment.