[test-suite] r301354 - CMakeLists: Rename TEST_SUITE_TAKE_COMPILE_TIME to TEST_SUITE_COLLECT_COMPILE_TIME

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 13:06:49 PDT 2017


Author: matze
Date: Tue Apr 25 15:06:49 2017
New Revision: 301354

URL: http://llvm.org/viewvc/llvm-project?rev=301354&view=rev
Log:
CMakeLists: Rename TEST_SUITE_TAKE_COMPILE_TIME to TEST_SUITE_COLLECT_COMPILE_TIME

COLLECT_COMPILE_TIME is more in line with COLLECT_STATS and the upcoming
COLLECT_CODE_SIZE.

Modified:
    test-suite/trunk/CMakeLists.txt

Modified: test-suite/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/CMakeLists.txt?rev=301354&r1=301353&r2=301354&view=diff
==============================================================================
--- test-suite/trunk/CMakeLists.txt (original)
+++ test-suite/trunk/CMakeLists.txt Tue Apr 25 15:06:49 2017
@@ -160,10 +160,10 @@ add_subdirectory(tools)
 # Shortcut for the path to the fpcmp executable
 set(FPCMP ${CMAKE_BINARY_DIR}/tools/fpcmp)
 
-option(TEST_SUITE_TAKE_COMPILE_TIME
+option(TEST_SUITE_COLLECT_COMPILE_TIME
        "Measure compile time by wrapping compiler invocations in timeit" On)
-mark_as_advanced(TEST_SUITE_TAKE_COMPILE_TIME)
-if(TEST_SUITE_TAKE_COMPILE_TIME)
+mark_as_advanced(TEST_SUITE_COLLECT_COMPILE_TIME)
+if(TEST_SUITE_COLLECT_COMPILE_TIME)
   set(CMAKE_C_COMPILE_OBJECT "${CMAKE_BINARY_DIR}/tools/timeit --summary <OBJECT>.time ${CMAKE_C_COMPILE_OBJECT}")
   set(CMAKE_CXX_COMPILE_OBJECT "${CMAKE_BINARY_DIR}/tools/timeit --summary <OBJECT>.time ${CMAKE_CXX_COMPILE_OBJECT}")
   set(CMAKE_C_LINK_EXECUTABLE "${CMAKE_BINARY_DIR}/tools/timeit --summary <TARGET>.link.time ${CMAKE_C_LINK_EXECUTABLE}")
@@ -212,7 +212,7 @@ if(TEST_SUITE_RUN_BENCHMARKS)
 endif()
 list(APPEND LIT_MODULES codesize)
 list(APPEND LIT_MODULES hash)
-if(TEST_SUITE_TAKE_COMPILE_TIME)
+if(TEST_SUITE_COLLECT_COMPILE_TIME)
   list(APPEND LIT_MODULES compiletime)
 endif()
 if(TEST_SUITE_RUN_UNDER)




More information about the llvm-commits mailing list