Skip to content

Commit

Permalink
macOS (x86): 10.15 -> 11.0
Browse files Browse the repository at this point in the history
The macOS 10.15 build images on GH Actions are gone, so we remove
this EOL platform for good now.
  • Loading branch information
ax3l committed Jul 31, 2023
1 parent 8fd3271 commit 8e1b1ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
CMAKE_GENERATOR: "Visual Studio 16 2019"
CMAKE_GENERATOR_PLATFORM: "Win32"

- os: macos-10.15
- os: macos-11
arch: "x86_64"
env:
MACOSX_DEPLOYMENT_TARGET: 10.15
MACOSX_DEPLOYMENT_TARGET: 11.0

# Apple Silicon M1/arm64/aarch64 builds:
# https://cibuildwheel.readthedocs.io/en/stable/faq/#apple-silicon
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
CIBW_ENVIRONMENT_WINDOWS: HDF5_USE_STATIC_LIBRARIES='ON' ZLIB_USE_STATIC_LIBS='ON' openPMD_CMAKE_openPMD_USE_HDF5='ON' openPMD_CMAKE_openPMD_USE_ADIOS2='ON' CMAKE_PREFIX_PATH='C:/Program Files (x86)/ADIOS2;C:/Program Files (x86)/blosc;C:/Program Files (x86)/blosc2;C:/Program Files (x86)/HDF5;C:/Program Files (x86)/ZFP;C:/Program Files (x86)/zlib'
# C++17 support in macOS 10.13+ (partial) and 10.14+ (std::visit) and 10.15+ (std::filesystem::path)
# https://cibuildwheel.readthedocs.io/en/stable/cpp_standards/#macos-and-deployment-target-versions
# arm64 Python interpreters are built with 11.0
# arm64/aarch64 (M1/M2) requires 11.0+
MACOSX_DEPLOYMENT_TARGET: "${{ matrix.env.MACOSX_DEPLOYMENT_TARGET }}"
CMAKE_OSX_ARCHITECTURES: "${{ matrix.env.CMAKE_OSX_ARCHITECTURES }}"
# Windows cross-compilation
Expand Down
11 changes: 0 additions & 11 deletions library_builders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,6 @@ function build_adios2 {
tar -xzf adios2*.tar.gz
rm adios2*.tar.gz

# ZPL issues on non-Linux platforms
if [ "$(uname -s)" = "Linux" ]
then
EVPATH_ZPL="ON"
else
# ZPL in EVPATH disabled because it does not build with older macOS
# https://github.com/GTkorvo/evpath/issues/47
EVPATH_ZPL="OFF"
fi

# build
mkdir build-adios2
cd build-adios2
Expand All @@ -141,7 +131,6 @@ function build_adios2 {
-DADIOS2_USE_SST=ON \
-DADIOS2_USE_ZFP=ON \
-DADIOS2_RUN_INSTALL_TEST=OFF \
-DEVPATH_USE_ZPL_ENET=${EVPATH_ZPL} \
-DHDF5_USE_STATIC_LIBRARIES:BOOL=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_DISABLE_FIND_PACKAGE_LibFFI=TRUE \
Expand Down

0 comments on commit 8e1b1ca

Please sign in to comment.