Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
let's pretend that sunOS supports privatization (no idea)
authorAugustin Degomme <adegomme@gmail.com>
Tue, 14 May 2019 10:16:51 +0000 (12:16 +0200)
committerAugustin Degomme <adegomme@gmail.com>
Tue, 14 May 2019 10:17:35 +0000 (12:17 +0200)
CMakeLists.txt
tools/cmake/MakeLib.cmake

index 34d5caa..12d1189 100644 (file)
@@ -396,7 +396,7 @@ endif()
 
 if(enable_smpi)
   SET(HAVE_SMPI 1)
 
 if(enable_smpi)
   SET(HAVE_SMPI 1)
-  if("${CMAKE_SYSTEM}" MATCHES "Darwin|FreeBSD|Linux")
+  if("${CMAKE_SYSTEM}" MATCHES "Darwin|FreeBSD|Linux|SunOS")
     SET(HAVE_PRIVATIZATION 1)
   else()
     message (STATUS "Warning:  no support for SMPI automatic privatization on this platform")
     SET(HAVE_PRIVATIZATION 1)
   else()
     message (STATUS "Warning:  no support for SMPI automatic privatization on this platform")
index 3d7d59f..203ddf4 100644 (file)
@@ -42,7 +42,7 @@ endif()
 # Compute the dependencies of SimGrid
 #####################################
 # search for dlopen
 # Compute the dependencies of SimGrid
 #####################################
 # search for dlopen
-if("${CMAKE_SYSTEM_NAME}" MATCHES "kFreeBSD|Linux")
+if("${CMAKE_SYSTEM_NAME}" MATCHES "kFreeBSD|Linux|SunOS")
   find_library(DL_LIBRARY dl)
 endif()
 mark_as_advanced(DL_LIBRARY)
   find_library(DL_LIBRARY dl)
 endif()
 mark_as_advanced(DL_LIBRARY)