summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2018-04-04 13:30:23 +0000
committerClement Courbet <courbet@google.com>2018-04-04 13:30:23 +0000
commit13545a277eef2e397e5722ae8fd417dff3a22477 (patch)
tree8cb3d90d498c1af14d50aced6d7c9670f82d040f
parent8139a88cb604bd319f89b9dea642a4ce67a43225 (diff)
downloadbcm5719-llvm-13545a277eef2e397e5722ae8fd417dff3a22477.tar.gz
bcm5719-llvm-13545a277eef2e397e5722ae8fd417dff3a22477.zip
[llvm-exegesis] Only run unit tests on x86_64 hosts.
llvm-svn: 329193
-rw-r--r--llvm/unittests/tools/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/unittests/tools/CMakeLists.txt b/llvm/unittests/tools/CMakeLists.txt
index 38ba77273be..7f8cf3647b8 100644
--- a/llvm/unittests/tools/CMakeLists.txt
+++ b/llvm/unittests/tools/CMakeLists.txt
@@ -2,8 +2,10 @@ if(LLVM_TARGETS_TO_BUILD MATCHES "X86")
add_subdirectory(
llvm-cfi-verify
)
- add_subdirectory(
- llvm-exegesis
- )
+ if(LLVM_HOST_TRIPLE MATCHES "x86_64")
+ add_subdirectory(
+ llvm-exegesis
+ )
+ endif()
endif()
OpenPOWER on IntegriCloud