Skip to content
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

feat(macos): add distribution for apple silicon #29

Merged
merged 12 commits into from
Jun 20, 2024
Prev Previous commit
Next Next commit
hide dylibs
  • Loading branch information
wpbonelli committed Jun 19, 2024
commit 42dc825a3ce8e15aaae3817db556fe72897ac8f1
8 changes: 8 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ jobs:
echo "LDFLAGS=$ldflags" >> $GITHUB_ENV
fi

- name: Hide dylibs (macOS)
if: matrix.os == 'macos-14'
run: |
version="12"
libpath="/opt/homebrew/opt/gcc@$version/lib/gcc/$version"
mv $libpath/libgfortran.5.dylib $libpath/libgfortran.5.dylib.bak
mv $libpath/libquadmath.0.dylib $libpath/libquadmath.0.dylib.bak

# only necessary because we need mf5to6 for mf6 autotests
- name: Build modflow6
working-directory: modflow6
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ jobs:
echo "LDFLAGS=$ldflags" >> $GITHUB_ENV
fi

- name: Hide dylibs (macOS)
if: matrix.os == 'macos-14'
run: |
version="12"
libpath="/opt/homebrew/opt/gcc@$version/lib/gcc/$version"
mv $libpath/libgfortran.5.dylib $libpath/libgfortran.5.dylib.bak
mv $libpath/libquadmath.0.dylib $libpath/libquadmath.0.dylib.bak

- uses: maxim-lobanov/setup-xcode@v1
if: runner.os == 'macOS'
with:
Expand Down
Loading