From: Augustin Degomme Date: Sat, 3 Nov 2018 14:57:58 +0000 (+0000) Subject: try to have mc work with freebsd 12 and flang X-Git-Tag: v3_22~822 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/27a642fd14257eb01ac3d73d921a135f1e389e24?hp=5af9da1ff0f589bce8af787d03a956cbc97eb3eb try to have mc work with freebsd 12 and flang --- diff --git a/src/mc/remote/RemoteClient.cpp b/src/mc/remote/RemoteClient.cpp index c876ccea2a..f891fb2b7c 100644 --- a/src/mc/remote/RemoteClient.cpp +++ b/src/mc/remote/RemoteClient.cpp @@ -100,6 +100,7 @@ static const std::vector filtered_libraries = { "libomp", "libpapi", "libpfm", + "libpgmath", "libpthread", "libquadmath", "librt", diff --git a/tools/cmake/MakeLib.cmake b/tools/cmake/MakeLib.cmake index eed2ff7b5a..2e5a8e0fd9 100644 --- a/tools/cmake/MakeLib.cmake +++ b/tools/cmake/MakeLib.cmake @@ -104,6 +104,9 @@ if(enable_smpi) 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()