summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2018-04-04 11:37:06 +0000
committerClement Courbet <courbet@google.com>2018-04-04 11:37:06 +0000
commitfd68be2418c71b96830ebaae5641297bfd598ce9 (patch)
tree8bc40037b527b3c3e1ff2044b575d36b155c5a92 /cmake
parent1fbc6fa39c79483494b85bf4a56327c9d89745bd (diff)
Re-land r329156 "Add llvm-exegesis tool."
Fixed to depend on and initialize the native target instead of X86. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329169 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config-ix.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 3b00979abb8..2952eb77478 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -87,6 +87,7 @@ if( NOT PURE_WINDOWS )
endif()
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(rt clock_gettime "" HAVE_LIBRT)
+ check_library_exists(pfm pfm_initialize "" HAVE_LIBPFM)
endif()
if(HAVE_LIBPTHREAD)