Skip to content

Commit

Permalink
resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
sgarnotel committed Dec 15, 2023
2 parents b89918d + 5bef0ca commit 6bc18b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-dmg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
FORTRAN_CHECK="$HOME/fortran-check"
mkdir "$FORTRAN_CHECK"
printf "program sizeofint\n integer i\nend" > "$FORTRAN_CHECK/check.f"
gfortran "$FORTRAN_CHECK/check.f" -o "$FORTRAN_CHECK/check"
sudo (export DYLD_PRINT_LIBRARIES=1; "$FORTRAN_CHECK/check") 2>&1 | awk '{print $NF}'| egrep -v '/usr/lib | "$FORTRAN_CHECK/check" | grep .dylib' >$PREFIX/gnu/list-dylib-gfortran
printf "program sizeofint\n integer i\nend" > "$FORTRAN_CHECK/check.f90"
gfortran "$FORTRAN_CHECK/check.f90" -o "$FORTRAN_CHECK/check"
sudo (export DYLD_PRINT_LIBRARIES=1; "$FORTRAN_CHECK/check") 2>&1 | awk '{print $NF}'| egrep -v '/usr/lib|"$FORTRAN_CHECK/check"|grep .dylib' >$PREFIX/gnu/list-dylib-gfortran
rm -rf "$FORTRAN_CHECK"
BREW_LIB_GFORTRAN=$(grep gfortran "$PREFIX/gnu/list-dylib-gfortran")
Expand Down

0 comments on commit 6bc18b7

Please sign in to comment.