Skip to content

Bump HDF5 version to 1.14 in T/C/AMReXThirdPartyLibraries.cmake #2

Bump HDF5 version to 1.14 in T/C/AMReXThirdPartyLibraries.cmake

Bump HDF5 version to 1.14 in T/C/AMReXThirdPartyLibraries.cmake #2

Workflow file for this run

name: macos
on: [push, pull_request]
concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-macos
cancel-in-progress: true
jobs:
# Build libamrex and all tests
tests-macos-universal-nompi:
name: AppleClang Universal w/o MPI [tests-universal]
runs-on: macos-latest
env:
# build universal binaries for M1 "Apple Silicon" and Intel CPUs
CMAKE_OSX_ARCHITECTURES: "arm64;x86_64"
CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wno-c++17-extensions -Wno-range-loop-analysis -Wno-pass-failed"
# -Wno-range-loop-analysis: Apple clang has a bug in range-loop-analysis
steps:
- uses: actions/checkout@v2
- name: Dependencies
run: .github/workflows/dependencies/dependencies_mac.sh
- name: Build & Install
run: |
cmake -S . -B build \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DAMReX_EB=ON \
-DAMReX_MPI=OFF \
-DAMReX_ENABLE_TESTS=ON \
-DAMReX_PARTICLES=ON
cmake --build build --parallel 2
ctest --test-dir build --output-on-failure
# Build libamrex and all tests
tests-macos:
name: AppleClang@11.0 GFortran@9.3 [tests]
runs-on: macos-latest
env:
CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wno-c++17-extensions -Wno-range-loop-analysis -Wno-pass-failed"
# -Wno-range-loop-analysis: Apple clang has a bug in range-loop-analysis
steps:
- uses: actions/checkout@v2
- name: Dependencies
run: .github/workflows/dependencies/dependencies_mac.sh
- name: Build & Install
run: |
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DAMReX_EB=ON \
-DAMReX_ENABLE_TESTS=ON \
-DAMReX_PARTICLES=ON
cmake --build build --parallel 2
cmake --build build --target install
ctest --test-dir build --output-on-failure