A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SMPI/PAPI] Added cmake switch for SMPI+PAPI
[simgrid.git]
/
tools
/
cmake
/
MakeLib.cmake
diff --git
a/tools/cmake/MakeLib.cmake
b/tools/cmake/MakeLib.cmake
index
496c935
..
ed62a97
100644
(file)
--- a/
tools/cmake/MakeLib.cmake
+++ b/
tools/cmake/MakeLib.cmake
@@
-56,6
+56,10
@@
if(HAVE_LUA)
SET(SIMGRID_DEP "${SIMGRID_DEP} ${LUA_LIBRARY} -ldl")
endif()
SET(SIMGRID_DEP "${SIMGRID_DEP} ${LUA_LIBRARY} -ldl")
endif()
+if(HAVE_PAPI)
+ SET(SIMGRID_DEP "${SIMGRID_DEP} -lpapi")
+endif()
+
if(HAVE_GRAPHVIZ)
if(HAVE_CGRAPH_LIB)
SET(SIMGRID_DEP "${SIMGRID_DEP} -lcgraph")
if(HAVE_GRAPHVIZ)
if(HAVE_CGRAPH_LIB)
SET(SIMGRID_DEP "${SIMGRID_DEP} -lcgraph")
@@
-95,10
+99,6
@@
if(HAVE_POSIX_GETTIME)
SET(SIMGRID_DEP "${SIMGRID_DEP} -lrt")
endif()
SET(SIMGRID_DEP "${SIMGRID_DEP} -lrt")
endif()
-if(HAVE_BACKTRACE)
- SET(SIMGRID_DEP "${SIMGRID_DEP} -lexecinfo")
-endif()
-
# Compute the dependencies of SMPI
##################################
if(enable_smpi AND APPLE)
# Compute the dependencies of SMPI
##################################
if(enable_smpi AND APPLE)