Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try to have mc work with freebsd 12 and flang
authorAugustin Degomme <adegomme@users.noreply.github.com>
Sat, 3 Nov 2018 14:57:58 +0000 (14:57 +0000)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Sat, 3 Nov 2018 14:57:58 +0000 (14:57 +0000)
src/mc/remote/RemoteClient.cpp
tools/cmake/MakeLib.cmake

index c876cce..f891fb2 100644 (file)
@@ -100,6 +100,7 @@ static const std::vector<std::string> filtered_libraries = {
     "libomp",
     "libpapi",
     "libpfm",
     "libomp",
     "libpapi",
     "libpfm",
+    "libpgmath",
     "libpthread",
     "libquadmath",
     "librt",
     "libpthread",
     "libquadmath",
     "librt",
index eed2ff7..2e5a8e0 100644 (file)
@@ -104,6 +104,9 @@ if(enable_smpi)
       SET(SIMGRID_DEP "${SIMGRID_DEP} -lflang")
       if("${CMAKE_SYSTEM}" MATCHES "FreeBSD")
         set(SIMGRID_DEP "${SIMGRID_DEP} -lexecinfo")
       SET(SIMGRID_DEP "${SIMGRID_DEP} -lflang")
       if("${CMAKE_SYSTEM}" MATCHES "FreeBSD")
         set(SIMGRID_DEP "${SIMGRID_DEP} -lexecinfo")
+        if ("${CMAKE_SYSTEM_VERSION}" MATCHES "12")
+            set(SIMGRID_DEP "${SIMGRID_DEP} -lpgmath")
+        endif()
       endif()
     endif()
   endif()
       endif()
     endif()
   endif()