From d1fd8769b7fb6981afd8420dfd90dad4af0009b9 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Sat, 24 Feb 2024 20:30:58 -0500 Subject: [PATCH] fix(gcc/macos): don't meddle with lib locations --- setup-fortran.sh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/setup-fortran.sh b/setup-fortran.sh index 2ff0a1c8..7dbde6c1 100755 --- a/setup-fortran.sh +++ b/setup-fortran.sh @@ -60,20 +60,6 @@ install_gcc_brew() fi fi - # link lib dir for previous GCC versions to avoid missing .dylib issues - for (( i=13; i>4; i-- )) - do - gcc_lib_path="/usr/local/opt/gcc/lib/gcc/$i" - if [ -d $gcc_lib_path ]; then - echo "found $gcc_lib_path" - for (( j=$i; j>4; j-- )) - do - ln -fs /usr/local/opt/gcc/lib/gcc/$i /usr/local/opt/gcc/lib/gcc/$j - done - break - fi - done - export FC="gfortran" export CC="gcc" export CXX="g++"