[PATCH] D22836: Add option to diable Bitcode tests. Tests are enabled by default.
Alina Sbirlea via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 26 15:46:58 PDT 2016
asbirlea created this revision.
asbirlea added reviewers: llvm-commits, MatzeB, mehdi_amini.
Add the cmake option to diable bitcode tests.
https://reviews.llvm.org/D22836
Files:
Bitcode/CMakeLists.txt
Index: Bitcode/CMakeLists.txt
===================================================================
--- Bitcode/CMakeLists.txt
+++ Bitcode/CMakeLists.txt
@@ -1,7 +1,10 @@
-if(NOT TEST_SUITE_BENCHMARKING_ONLY)
- llvm_add_subdirectories(Regression)
- if(ARCH STREQUAL "x86")
- llvm_add_subdirectories(simd_ops)
+set(TEST_SUITE_ENABLE_BITCODE_TESTS "True" CACHE BOOL "Enable bitcode tests")
+if(TEST_SUITE_ENABLE_BITCODE_TESTS)
+ if(NOT TEST_SUITE_BENCHMARKING_ONLY)
+ llvm_add_subdirectories(Regression)
+ if(ARCH STREQUAL "x86")
+ llvm_add_subdirectories(simd_ops)
+ endif()
endif()
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22836.65619.patch
Type: text/x-patch
Size: 614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160726/d1e82f26/attachment.bin>
More information about the llvm-commits
mailing list