Skip to content

Commit

Permalink
build mf6 with optimization=1 for arm mac
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Jun 19, 2024
1 parent 42dc825 commit 0e94b76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
run: |
setupargs="--prefix=$(pwd) --libdir=bin -Ddebug=false"
if [[ "${{ matrix.os }}" == "macos-14" ]]; then
setupargs="-Doptimization=1"
setupargs="$setupargs -Doptimization=1"
fi
meson setup builddir $setupargs
meson install -C builddir
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ jobs:
- name: Build programs
run: python scripts/build_programs.py

- name: Build MF6 with optimization=1
if: matrix.os == 'macos-14'
run: make-program mf6 --zip macarm.zip --fflags='-O1'

- name: Upload distribution archive
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 0e94b76

Please sign in to comment.