llvm.org GIT mirror llvm / b677706
Replace hardcoded comment at 'lit.site.cfg.in' At the moment almost every lit.site.cfg.in contains two lines comment: ## Autogenerated by LLVM/Clang configuration. # Do not edit! The patch adds variable LIT_SITE_CFG_IN_HEADER, that is replaced from configure_lit_site_cfg with the note and some useful information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266515 91177308-0d34-0410-b5e6-96231b3b80d8 Alex Denisov 3 years ago
3 changed file(s) with 6 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
982982 set(HOST_CXX "${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1}")
983983 set(HOST_LDFLAGS "${CMAKE_EXE_LINKER_FLAGS}")
984984
985 set(LIT_SITE_CFG_IN_HEADER "## Autogenerated from ${input}\n## Do not edit!")
986
985987 configure_file(${input} ${output} @ONLY)
986988 endfunction()
987989
0 @LIT_SITE_CFG_IN_HEADER@
1
2 import sys
13
2 ## Autogenerated by LLVM/Clang configuration.
3 # Do not edit!
44 config.llvm_src_root = "@LLVM_SOURCE_DIR@"
55 config.llvm_obj_root = "@LLVM_BINARY_DIR@"
66 config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
0 @LIT_SITE_CFG_IN_HEADER@
1
2 import sys
13
2 ## Autogenerated by LLVM/Clang configuration.
3 # Do not edit!
44 config.host_triple = "@LLVM_HOST_TRIPLE@"
55 config.target_triple = "@TARGET_TRIPLE@"
66 config.llvm_src_root = "@LLVM_SOURCE_DIR@"