[PATCH] D46267: [test-suite] Enable MicroBenchmarks by default

Brian Homerding via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 22 06:59:25 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL332981: [test-suite] Enable MicroBenchmarks by default (authored by homerdin, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D46267?vs=144557&id=147999#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D46267

Files:
  test-suite/trunk/CMakeLists.txt
  test-suite/trunk/MicroBenchmarks/CMakeLists.txt


Index: test-suite/trunk/MicroBenchmarks/CMakeLists.txt
===================================================================
--- test-suite/trunk/MicroBenchmarks/CMakeLists.txt
+++ test-suite/trunk/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()
Index: test-suite/trunk/CMakeLists.txt
===================================================================
--- test-suite/trunk/CMakeLists.txt
+++ test-suite/trunk/CMakeLists.txt
@@ -211,9 +211,8 @@
   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()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46267.147999.patch
Type: text/x-patch
Size: 1276 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180522/db5b2d70/attachment.bin>


More information about the llvm-commits mailing list