Skip to content

Commit 6be366d

Browse files
committed
Bitcode: Enable single_source lit config
The compile_time collection fails for the bitcode tests because the test executable name has no relation to the bitcode input. Setting single_source=True is not enough to fix it, but at least it stops lit from summing up the compile of every tests every time (which slowed the testrunner noticably down). llvm-svn: 295274
1 parent 3d1d8ba commit 6be366d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Bitcode/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ if(TEST_SUITE_ENABLE_BITCODE_TESTS)
1515
add_subdirectory(simd_ops)
1616
endif()
1717
endif()
18+
file(COPY lit.local.cfg DESTINATION "${CMAKE_CURRENT_BINARY_DIR}")
1819
endif()

Bitcode/lit.local.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
config.single_source = True

0 commit comments

Comments
 (0)