Skip to content

Commit 895653d

Browse files
committed
[cmake] Remove unused OUTPUT_MAPPING param to configure_lit_site_cfg(). NFC
Looks like it never did anything. Added in 71deeee
1 parent 4308f03 commit 895653d

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

llvm/cmake/modules/AddLLVM.cmake

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,15 +1614,12 @@ string(CONCAT LLVM_LIT_PATH_FUNCTION
16141614
# path back to absolute form. This makes it possible to move a build directory
16151615
# containing lit.cfg.py files from one machine to another.
16161616
function(configure_lit_site_cfg site_in site_out)
1617-
cmake_parse_arguments(ARG "" "" "MAIN_CONFIG;OUTPUT_MAPPING;PATHS" ${ARGN})
1617+
cmake_parse_arguments(ARG "" "" "MAIN_CONFIG;PATHS" ${ARGN})
16181618

16191619
if ("${ARG_MAIN_CONFIG}" STREQUAL "")
16201620
get_filename_component(INPUT_DIR ${site_in} DIRECTORY)
16211621
set(ARG_MAIN_CONFIG "${INPUT_DIR}/lit.cfg")
16221622
endif()
1623-
if ("${ARG_OUTPUT_MAPPING}" STREQUAL "")
1624-
set(ARG_OUTPUT_MAPPING "${site_out}")
1625-
endif()
16261623

16271624
foreach(c ${LLVM_TARGETS_TO_BUILD})
16281625
set(TARGETS_BUILT "${TARGETS_BUILT} ${c}")

llvm/utils/lit/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
configure_lit_site_cfg(
55
"${CMAKE_CURRENT_SOURCE_DIR}/tests/lit.site.cfg.in"
66
"${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg"
7-
OUTPUT_MAPPING
8-
"${CMAKE_CURRENT_BINARY_DIR}/tests/lit.site.cfg"
97
)
108

119
# Lit's test suite creates output files next to the sources which makes the

0 commit comments

Comments
 (0)