[PATCH] D22836: Add option to diable Bitcode tests. Tests are enabled by default.
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 26 16:10:47 PDT 2016
What's the rationale?
On Tuesday, July 26, 2016, Alina Sbirlea via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160726/f8e77fb8/attachment.html>
More information about the llvm-commits
mailing list