We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 26411ac + e674e1c commit be8f70dCopy full SHA for be8f70d
cmake/fc.cmake
@@ -44,7 +44,10 @@ endif ()
44
45
if (${F_COMPILER} STREQUAL "GFORTRAN")
46
set(CCOMMON_OPT "${CCOMMON_OPT} -DF_INTERFACE_GFORT")
47
+ # ensure reentrancy of lapack codes
48
set(FCOMMON_OPT "${FCOMMON_OPT} -Wall -frecursive")
49
+ # work around ABI violation in passing string arguments from C
50
+ set(FCOMMON_OPT "${FCOMMON_OPT} -fno-optimize-sibling-calls")
51
#Don't include -lgfortran, when NO_LAPACK=1 or lsbcc
52
if (NOT NO_LAPACK)
53
set(EXTRALIB "{EXTRALIB} -lgfortran")
0 commit comments