[llvm] r329193 - [llvm-exegesis] Only run unit tests on x86_64 hosts.

Clement Courbet via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 4 06:30:23 PDT 2018


Author: courbet
Date: Wed Apr  4 06:30:23 2018
New Revision: 329193

URL: http://llvm.org/viewvc/llvm-project?rev=329193&view=rev
Log:
[llvm-exegesis] Only run unit tests on x86_64 hosts.

Modified:
    llvm/trunk/unittests/tools/CMakeLists.txt

Modified: llvm/trunk/unittests/tools/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/tools/CMakeLists.txt?rev=329193&r1=329192&r2=329193&view=diff
==============================================================================
--- llvm/trunk/unittests/tools/CMakeLists.txt (original)
+++ llvm/trunk/unittests/tools/CMakeLists.txt Wed Apr  4 06:30:23 2018
@@ -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()
 




More information about the llvm-commits mailing list