From 27a642fd14257eb01ac3d73d921a135f1e389e24 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Sat, 3 Nov 2018 14:57:58 +0000 Subject: [PATCH 1/1] try to have mc work with freebsd 12 and flang --- src/mc/remote/RemoteClient.cpp | 1 + tools/cmake/MakeLib.cmake | 3 +++ 2 files changed, 4 insertions(+) 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() -- 2.20.1