-
Notifications
You must be signed in to change notification settings - Fork 12
Feature/macos arm #44
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -62,9 +62,14 @@ before-build = "bash ./ci/wheels/cibw_before_build_win.sh" | |
| repair-wheel-command = "bash ./ci/wheels/repair_windows.sh {wheel} {dest_dir}" | ||
|
|
||
| [tool.cibuildwheel.macos.environment] | ||
| CMAKE_PREFIX_PATH = "/opt/homebrew;/usr/local" | ||
| PKG_CONFIG_PATH = "/opt/homebrew/lib/pkgconfig:/usr/local/lib/pkgconfig" | ||
| CMAKE_PREFIX_PATH = "/tmp/imas-core-install:/opt/homebrew:/usr/local" | ||
| PKG_CONFIG_PATH = "/tmp/imas-core-install/lib/pkgconfig:/opt/homebrew/lib/pkgconfig:/usr/local/lib/pkgconfig" | ||
| MACOSX_DEPLOYMENT_TARGET = "14.0" | ||
| AL_BACKEND_HDF5 = { env = "AL_BACKEND_HDF5", default = "ON" } | ||
| AL_BACKEND_UDA = { env = "AL_BACKEND_UDA", default = "ON" } | ||
| AL_BACKEND_MDSPLUS = { env = "AL_BACKEND_MDSPLUS", default = "OFF" } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are MDSplus packages for Macs running on Intel silicon: https://www.mdsplus.org/index.php/Latest_Macintosh_Distributions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It says that the apple silicon port is not complete, so I left it out for now. |
||
| AL_BUILD_MDSPLUS_MODELS = { env = "AL_BUILD_MDSPLUS_MODELS", default = "OFF" } | ||
| AL_PYTHON_BINDINGS = "ON" | ||
|
|
||
| [tool.cibuildwheel.macos] | ||
| archs = ["arm64"] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
masterbranch is not the same as the latest release. Is this what we want to do? What was wrong with the homebrew install? (https://formulae.brew.sh/formula/capnp).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was not able to remove the homebrew dependencies from the wheel. The other libs worked fine, but capnp had some deps left over after delocate, that make the wheel fail. I can revisit this again...
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried again using capnp from brew, the error I get when trying to delocate is:
So somehow the brew libs used by capnp could not be delocated properly. There are probably ways to fix this, but compiling capnp from scratch takes one sec, so I went that route.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, then let's not spend more time on this at the moment.