[test-suite] r332981 - [test-suite] Enable MicroBenchmarks by default
Brian Homerding via llvm-commits
llvm-commits at lists.llvm.org
Tue May 22 06:55:25 PDT 2018
Author: homerdin
Date: Tue May 22 06:55:25 2018
New Revision: 332981
URL: http://llvm.org/viewvc/llvm-project?rev=332981&view=rev
Log:
[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
Modified:
test-suite/trunk/CMakeLists.txt
test-suite/trunk/MicroBenchmarks/CMakeLists.txt
Modified: test-suite/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/CMakeLists.txt?rev=332981&r1=332980&r2=332981&view=diff
==============================================================================
--- test-suite/trunk/CMakeLists.txt (original)
+++ test-suite/trunk/CMakeLists.txt Tue May 22 06:55:25 2018
@@ -211,9 +211,8 @@ if(NOT TEST_SUITE_SUBDIRS)
set(TEST_SUITE_SUBDIRS "")
foreach(entry ${sub_cmakelists})
get_filename_component(subdir ${entry} DIRECTORY)
- # Exclude tools, CTMark, and MicroBenchmarks from default list
- if(NOT ${subdir} STREQUAL tools AND NOT ${subdir} STREQUAL CTMark
- AND NOT ${subdir} STREQUAL MicroBenchmarks)
+ # Exclude tools and CTMark from default list
+ if(NOT ${subdir} STREQUAL tools AND NOT ${subdir} STREQUAL CTMark)
list(APPEND TEST_SUITE_SUBDIRS ${subdir})
endif()
endforeach()
Modified: test-suite/trunk/MicroBenchmarks/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MicroBenchmarks/CMakeLists.txt?rev=332981&r1=332980&r2=332981&view=diff
==============================================================================
--- test-suite/trunk/MicroBenchmarks/CMakeLists.txt (original)
+++ test-suite/trunk/MicroBenchmarks/CMakeLists.txt Tue May 22 06:55:25 2018
@@ -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()
More information about the llvm-commits
mailing list