diff options
author | Brian Homerding <homerdin@gmail.com> | 2018-05-22 13:55:25 +0000 |
---|---|---|
committer | Brian Homerding <homerdin@gmail.com> | 2018-05-22 13:55:25 +0000 |
commit | a3c439776a358ed78581e98c44085a4706cc376d (patch) | |
tree | c5466ee824ff196b05ef4a0e89b546e55235eb41 /MicroBenchmarks | |
parent | b9d870b66613fe18698e504ad78f3c7a98cb4a32 (diff) |
[test-suite] Enable MicroBenchmarks by default
With the changes in https://reviews.llvm.org/rL327422 and
https://reviews.llvm.org/rL327710 the MicroBenchmarks directory produces
additional meaningful data. The patch enables the MicroBenchmarks directory
to build by default.
Reviewers: MatzeB, hfinkel
Differential Revision: https://reviews.llvm.org/D46267
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@332981 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'MicroBenchmarks')
-rw-r--r-- | MicroBenchmarks/CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/MicroBenchmarks/CMakeLists.txt b/MicroBenchmarks/CMakeLists.txt index ed67e9d0..0c117a10 100644 --- a/MicroBenchmarks/CMakeLists.txt +++ b/MicroBenchmarks/CMakeLists.txt @@ -1,5 +1,7 @@ -file(COPY lit.local.cfg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) +if(NOT DEFINED DISABLE_CXX) + file(COPY lit.local.cfg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) -add_subdirectory(libs) -add_subdirectory(XRay) -add_subdirectory(LCALS) + add_subdirectory(libs) + add_subdirectory(XRay) + add_subdirectory(LCALS) +endif() |