mcst-linux-kernel/patches-2024.06.26/scalapack-2.1.0/0001-set-CDEFS-by-macro.patch

25 lines
1.1 KiB
Diff

diff -Naur old/CMAKE/FortranMangling.cmake new/CMAKE/FortranMangling.cmake
--- old/CMAKE/FortranMangling.cmake 2021-03-18 13:06:27.222717796 +0000
+++ new/CMAKE/FortranMangling.cmake 2021-03-18 13:25:51.778677709 +0000
@@ -51,14 +51,15 @@
MESSAGE(STATUS "=========")
MESSAGE(STATUS "Testing FORTRAN_MANGLING")
- execute_process ( COMMAND ${PROJECT_SOURCE_DIR}/BLACS/INSTALL/xintface
- RESULT_VARIABLE xintface_RES
- OUTPUT_VARIABLE xintface_OUT
- ERROR_VARIABLE xintface_ERR)
+# execute_process ( COMMAND ${PROJECT_SOURCE_DIR}/BLACS/INSTALL/xintface
+# RESULT_VARIABLE xintface_RES
+# OUTPUT_VARIABLE xintface_OUT
+# ERROR_VARIABLE xintface_ERR)
# MESSAGE(STATUS "FORTRAN MANGLING:RUN \n${xintface_OUT}")
-
+set(xintface_RES 0)
+set(xintface_OUT "Add_")
if (xintface_RES EQUAL 0)
STRING(REPLACE "\n" "" xintface_OUT "${xintface_OUT}")
MESSAGE(STATUS "CDEFS set to ${xintface_OUT}")