summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2018-04-04 08:13:32 +0000
committerClement Courbet <courbet@google.com>2018-04-04 08:13:32 +0000
commit780c045964bcf42e415db55b531492a3e1821fc2 (patch)
treedb249077706fdf15195be6874167e32f523a88da /cmake
parent0376d42275ea9cb1159e295990130e8fa543eb8d (diff)
Add llvm-exegesis tool.
Summary: [llvm-exegesis][RFC] Automatic Measurement of Instruction Latency/Uops This is the code corresponding to the RFC "llvm-exegesis Automatic Measurement of Instruction Latency/Uops". The RFC is available on the LLVM mailing lists as well as the following document for easier reading: https://docs.google.com/document/d/1QidaJMJUyQdRrFKD66vE1_N55whe0coQ3h1GpFzz27M/edit?usp=sharing Subscribers: mgorny, gchatelet, orwant, llvm-commits Differential Revision: https://reviews.llvm.org/D44519 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329156 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)