File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 51
51
ln -s /usr/local/bin/gfortran-${GCC_V} /usr/local/bin/gfortran
52
52
which gfortran-${GCC_V}
53
53
which gfortran
54
+ # Backport gfortran shared libraries to version 9 folder. This is necessary because all macOS releases of fpm
55
+ # have these paths hardcoded in the executable (no PIC?). As the gcc ABIs have not changed from 9 to 10, we
56
+ # can just create symbolic links for now. This can be removed when an updated fpm release is built with gcc-10
57
+ mkdir /usr/local/opt/gcc@9
58
+ mkdir /usr/local/opt/gcc@9/lib
59
+ mkdir /usr/local/opt/gcc@9/lib/gcc
60
+ mkdir /usr/local/opt/gcc@9/lib/gcc/9
61
+ mkdir /usr/local/lib/gcc/9
62
+ ln -fs /usr/local/opt/gcc@${GCC_V}/lib/gcc/${GCC_V}/libquadmath.0.dylib /usr/local/opt/gcc@9/lib/gcc/9/libquadmath.0.dylib
63
+ ln -fs /usr/local/opt/gcc@${GCC_V}/lib/gcc/${GCC_V}/libgfortran.5.dylib /usr/local/opt/gcc@9/lib/gcc/9/libgfortran.5.dylib
64
+ ln -fs /usr/local/lib/gcc/${GCC_V}/libgcc_s.1.dylib /usr/local/lib/gcc/9/libgcc_s.1.dylib
54
65
55
66
- name : Install GFortran Linux
56
67
if : contains(matrix.os, 'ubuntu')
You can’t perform that action at this time.
0 commit comments