Skip to content

Commit

Permalink
ci(release): fix dylib path to hide on macos-14 (#1828)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli authored May 20, 2024
1 parent 4c6deb1 commit ccdb175
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,10 @@ jobs:
- name: Hide dylibs (macOS)
if: matrix.os == 'macos-14'
run: |
mv /opt/homebrew/opt/gcc/lib/gcc/current/libgfortran.5.dylib /opt/homebrew/opt/gcc/lib/gcc/current/libgfortran.5.dylib.bak
mv /opt/homebrew/opt/gcc/lib/gcc/current/libquadmath.0.dylib /opt/homebrew/opt/gcc/lib/gcc/current/libquadmath.0.dylib.bak
version="${{ matrix.version }}"
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
- name: Set LDFLAGS (macOS)
if: runner.os == 'macOS'
Expand Down

0 comments on commit ccdb175

Please sign in to comment.