File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ function before_build {
4444 # force the architecture when using rosetta
4545 unalias gfortran || true
4646 arch -${PLAT} bash -s << " EOF "
47+ set -xe
4748 source tools/gfortran_utils.sh
4849 install_gfortran
4950 EOF
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ if [ "$(uname)" == "Darwin" ]; then
4848 * ) echo Did not recognize arch-plat $arch -$plat ; return 1 ;;
4949 esac
5050 curl -L -O https://github.com/isuruf/gcc/releases/download/${gccver} /gfortran-darwin-${arch} -${type} .tar.gz
51+ ls -lh gfortran-darwin-${arch} -${type} .tar.gz
5152 local filesha=$( python3 tools/sha256sum.py gfortran-darwin-${arch} -${type} .tar.gz)
5253 if [[ " $filesha " != " ${GFORTRAN_SHA} " ]]; then
5354 echo shasum mismatch for ${gccver} /gfortran-darwin-${arch} -${type}
@@ -65,7 +66,7 @@ if [ "$(uname)" == "Darwin" ]; then
6566 rm gfortran-darwin-${arch} -${type} .tar.gz
6667 popd
6768 export FC=" $( find /opt/gfortran/gfortran-darwin-${arch} -${type} /bin -name " *-gfortran" ) "
68- local libgfortran=" $( find /opt/gfortran/gfortran-darwin-${arch} -${cross } /lib -name libgfortran.dylib) "
69+ local libgfortran=" $( find /opt/gfortran/gfortran-darwin-${arch} -${type } /lib -name libgfortran.dylib) "
6970 local libdir=$( dirname $libgfortran )
7071 export FFLAGS=" -L$libdir -Wl,-rpath,$libdir "
7172 }
You can’t perform that action at this time.
0 commit comments