Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/build arm64 wheels for osx #53

Conversation

doublethefish
Copy link
Collaborator

Addresses #35 (you can install from the latest action on master, until we publish to pypi) and fixes #33

Finally we build (cross-compiled) m1 compatible wheels in github actions.

@doublethefish doublethefish merged commit 0c4f7b3 into reymond-group:master Apr 5, 2023
@doublethefish doublethefish deleted the chore/build_arm64_wheels_for_osx branch April 5, 2023 06:51
doublethefish added a commit that referenced this pull request Apr 9, 2023
…ti-arch_lib

Fix/pybind11 .so not building multi arch libs on OSX

This fixes an issue in PR #53 where the arm64 part of one of, and only one of, the Mach-0 binaries wasn't actually being produced on github actions!

This PR switches to separate arm64 and amd64 wheels because the universal2 wheel was not being built properly using github actions because pybind11 wasn't producing a multi-arch .so, however when building locally more than once (as is quite likely) pybind11 would produce and merge (maybe??) the arm64 arch into the amd64 .so.

To fix an additional issue when building locally, this also reintroduces a change to clean the build/ intermediary folder for OGDF, because the CMake build for one platform specifies SIMD support that isn't actually available on the 2nd build, and therefore the 2nd build would fail trying to build against the wrong SIMD intrinsics.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installation of tmap - macOS Monterey Apple M1 Chip
1 participant