File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ function before_build {
4141 source venv/bin/activate
4242 # Since install_fortran uses `uname -a` to determine arch,
4343 # force the architecture
44+ unalias gfortran 2> /dev/null || true
4445 arch -${PLAT} bash -s << " EOF "
4546 set -ex
4647 source tools/gfortran_utils.sh
@@ -159,14 +160,6 @@ function do_build_lib {
159160 Darwin-x86_64)
160161 local bitness=64
161162 local target="CORE2"
162- # Use gfortran-11
163- unalias gfortran
164- # Since install_fortran uses `uname -a` to determine arch,
165- # force the architecture
166- arch -${PLAT} bash -s << EOF
167- source ${ROOT_DIR}/gfortran-install/gfortran_utils.sh
168- install_gfortran
169- EOF
170163 export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH
171164 CFLAGS="$CFLAGS -arch x86_64"
172165 export SDKROOT=${SDKROOT:-$(xcrun --show-sdk-path)}
You can’t perform that action at this time.
0 commit comments