Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
(attempt to) Disable fortran for mac platforms, for now.
authordegomme <augustin.degomme@unibas.ch>
Fri, 26 Jun 2015 07:32:40 +0000 (09:32 +0200)
committerdegomme <augustin.degomme@unibas.ch>
Fri, 26 Jun 2015 07:32:57 +0000 (09:32 +0200)
If we ever find a user for SMPI+Fortran on apple, we will need to investigate what to do to
correctly plug the user_main function (correct underscore handling is a likely guess)

CMakeLists.txt

index d783249..e7311c7 100644 (file)
@@ -15,7 +15,7 @@ if (APPLE) #MAC
   set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
 endif()
 
-if (NOT DEFINED enable_smpi OR enable_smpi) # smpi is enabled by default
+if ((NOT DEFINED enable_smpi OR enable_smpi) AND NOT APPLE) # smpi is enabled by default
   # Call enable_language(Fortran) in order to load the build rules for
   # this language, needed by teshsuite/smpi/mpich-test/.  Use
   # CMAKE_FORCE_Fortran_COMPILER to bypass checks for a working