1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

try to fix tsan bot

This commit is contained in:
Nico Weber 2020-04-06 10:47:41 -04:00
parent 9ccd7b44df
commit 8a90e4e235

View File

@ -13,13 +13,15 @@ if("${CMAKE_CFG_INTDIR}" STREQUAL ".")
endif()
set(LLVM_LIT_CONFIG_MAP "${LLVM_LIT_PATH_FUNCTION}\n")
foreach(i RANGE 0 ${file_last} 2)
list(GET LLVM_LIT_CONFIG_FILES ${i} main_config)
math(EXPR i1 "${i} + 1")
list(GET LLVM_LIT_CONFIG_FILES ${i1} site_out)
set(map "map_config(path('${main_config}'), path('${site_out}'))")
set(LLVM_LIT_CONFIG_MAP "${LLVM_LIT_CONFIG_MAP}\n${map}")
endforeach()
if (${file_last} GREATER -1)
foreach(i RANGE 0 ${file_last} 2)
list(GET LLVM_LIT_CONFIG_FILES ${i} main_config)
math(EXPR i1 "${i} + 1")
list(GET LLVM_LIT_CONFIG_FILES ${i1} site_out)
set(map "map_config(path('${main_config}'), path('${site_out}'))")
set(LLVM_LIT_CONFIG_MAP "${LLVM_LIT_CONFIG_MAP}\n${map}")
endforeach()
endif()
set(LLVM_SOURCE_DIR ${LLVM_MAIN_SRC_DIR})