File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -154,10 +154,11 @@ jobs:
154154 # CRITICAL FIX: Explicitly compile the missing objects to ensure they exist.
155155 # The makefile rules might be missing or not triggering correctly for these specific files.
156156 echo "Compiling missing objects manually..."
157- gfortran -c -O2 -fdefault-integer-8 -fdefault-real-8 -mcmodel=large potent.f || echo "Failed to compile potent.f"
158- gfortran -c -O2 -fdefault-integer-8 -fdefault-real-8 -mcmodel=large action.f || echo "Failed to compile action.f"
159- gfortran -c -O2 -fdefault-integer-8 -fdefault-real-8 -mcmodel=large energi.f || echo "Failed to compile energi.f"
160- gfortran -c -O2 -fdefault-integer-8 -fdefault-real-8 -mcmodel=large boxes.f || echo "Failed to compile boxes.f"
157+ # Fix: Removed -mcmodel=large as it conflicts with -fPIC on ARM64 and causes build failure
158+ gfortran -c -O2 -fdefault-integer-8 -fdefault-real-8 potent.f || echo "Failed to compile potent.f"
159+ gfortran -c -O2 -fdefault-integer-8 -fdefault-real-8 action.f || echo "Failed to compile action.f"
160+ gfortran -c -O2 -fdefault-integer-8 -fdefault-real-8 energi.f || echo "Failed to compile energi.f"
161+ gfortran -c -O2 -fdefault-integer-8 -fdefault-real-8 boxes.f || echo "Failed to compile boxes.f"
161162
162163 # Now rename the old broken target
163164 sed -i 's/^libtinker.a:/OLD_libtinker.a:/g' Makefile
You can’t perform that action at this time.
0 commit comments