-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wheels: Fix macOS arm64 (M1) builds (#1233)
* Wheels: Fix macOS arm64 (M1) builds We only built x64_64 targets so far for `arm64` and `universal2` builds for macOS. Setting now `CMAKE_OSX_ARCHITECTURES` to change that. https://cmake.org/cmake/help/latest/envvar/CMAKE_OSX_ARCHITECTURES.html?highlight=cmake_osx_architectures#envvar:CMAKE_OSX_ARCHITECTURES * M1: no SSE with c-blosc * more see blosc * universal2: try macos 11.0 * arm64: use MacOS 11 * Patch: ADIOS2 DILL universal * ADIOS1: Skip Universal; HDF5: CMake * ADIOS2-2.7.1: Disable SST for universal2 for now DILL patch not easy to apply yet. * HDF5: Set CMAKE_APPLE_SILICON_PROCESSOR * HDF5: CMAKE_CROSSCOMPILING_EMULATOR * macOS: Install Rosetta2 This provides the `arch` command. * Rosetta2 only works on M1, not the other way around * HDF5 Cross-Compile: Try qemu * Disable universal2: ADIOS1 + HDF5... ... are too tricky to build still. Could build them twice and use `lipo` to combine the lib artifact if we really want to. * ADIOS2 SST Control: Typo in Varname (Cleaning) * Try more libvirt/qemu options https://www.naut.ca/blog/2021/12/09/arm64-vm-on-macos-with-libvirt-qemu * Disable Apple Silicon M1 aarch64 HDF5 cross-compile from x86-64 still tricky. * Remove qemu * ADIOS1: Skip for Universal Builds * ADIOS1/2: Cleanup * macOS: HDF5 1.12.2 arm64 via patch & autotools * ADIOS1: skip for M1 * Windows: HDF5 1.12.0 -> 1.12.2 * Unix: Build Zlib 1.2.12 Otherwise it might not be cross-compiled. Used in HDF5.
- Loading branch information
Showing
3 changed files
with
160 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters