mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
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. llvm-svn: 266515
This commit is contained in:
parent
b0f2763c03
commit
9fcc64726a
@ -983,6 +983,8 @@ function(configure_lit_site_cfg input output)
|
|||||||
set(HOST_CXX "${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1}")
|
set(HOST_CXX "${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1}")
|
||||||
set(HOST_LDFLAGS "${CMAKE_EXE_LINKER_FLAGS}")
|
set(HOST_LDFLAGS "${CMAKE_EXE_LINKER_FLAGS}")
|
||||||
|
|
||||||
|
set(LIT_SITE_CFG_IN_HEADER "## Autogenerated from ${input}\n## Do not edit!")
|
||||||
|
|
||||||
configure_file(${input} ${output} @ONLY)
|
configure_file(${input} ${output} @ONLY)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
@LIT_SITE_CFG_IN_HEADER@
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
## Autogenerated by LLVM/Clang configuration.
|
|
||||||
# Do not edit!
|
|
||||||
config.llvm_src_root = "@LLVM_SOURCE_DIR@"
|
config.llvm_src_root = "@LLVM_SOURCE_DIR@"
|
||||||
config.llvm_obj_root = "@LLVM_BINARY_DIR@"
|
config.llvm_obj_root = "@LLVM_BINARY_DIR@"
|
||||||
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
|
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
@LIT_SITE_CFG_IN_HEADER@
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
## Autogenerated by LLVM/Clang configuration.
|
|
||||||
# Do not edit!
|
|
||||||
config.host_triple = "@LLVM_HOST_TRIPLE@"
|
config.host_triple = "@LLVM_HOST_TRIPLE@"
|
||||||
config.target_triple = "@TARGET_TRIPLE@"
|
config.target_triple = "@TARGET_TRIPLE@"
|
||||||
config.llvm_src_root = "@LLVM_SOURCE_DIR@"
|
config.llvm_src_root = "@LLVM_SOURCE_DIR@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user