mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Stop passing site cfg files via --param to llvm-lit.
This has been unnecessary since https://reviews.llvm.org/D37756. https://reviews.llvm.org/D37838 removed it for llvm. This removes it from clang, lld, clang-tools-extra (and the GN build). No intended behavior change. Differential Revision: https://reviews.llvm.org/D77585
This commit is contained in:
parent
4978c63e88
commit
555218d213
@ -21,8 +21,9 @@ write_lit_config("lit_site_cfg") {
|
||||
output = clangd_lit_site_cfg_file
|
||||
|
||||
extra_values = [
|
||||
"CMAKE_CURRENT_BINARY_DIR=" + rebase_path(
|
||||
get_label_info("//clang-tools-extra/clangd/test", "target_out_dir")),
|
||||
"CMAKE_CURRENT_BINARY_DIR=" +
|
||||
rebase_path(get_label_info("//clang-tools-extra/clangd/test",
|
||||
"target_out_dir")),
|
||||
"CMAKE_CURRENT_SOURCE_DIR=" +
|
||||
rebase_path("//clang-tools-extra/clangd/test"),
|
||||
|
||||
@ -91,6 +92,10 @@ action("check-clangd") {
|
||||
}
|
||||
args = [
|
||||
"-sv",
|
||||
|
||||
# clangd doesn't put unittest configs in test/unit like every other project.
|
||||
# Because of that, this needs to pass two folders here, while every other
|
||||
# project only needs to pass CMAKE_CURRENT_BINARY_DIR.
|
||||
rebase_path(get_path_info(clangd_lit_site_cfg_file, "dir"), root_out_dir),
|
||||
rebase_path(get_path_info(clangd_lit_unit_site_cfg_file, "dir"),
|
||||
root_out_dir),
|
||||
|
@ -90,12 +90,6 @@ action("check-clang-tools") {
|
||||
}
|
||||
args = [
|
||||
"-sv",
|
||||
"--param",
|
||||
"clang_site_config=" +
|
||||
rebase_path(clang_tools_extra_lit_site_cfg_file, root_out_dir),
|
||||
"--param",
|
||||
"clang_unit_site_config=" +
|
||||
rebase_path(clang_tools_extra_lit_unit_site_cfg_file, root_out_dir),
|
||||
rebase_path(".", root_out_dir),
|
||||
]
|
||||
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it
|
||||
|
@ -189,11 +189,6 @@ action("check-clang") {
|
||||
}
|
||||
args = [
|
||||
"-sv",
|
||||
"--param",
|
||||
"clang_site_config=" + rebase_path(clang_lit_site_cfg_file, root_out_dir),
|
||||
"--param",
|
||||
"clang_unit_site_config=" +
|
||||
rebase_path(clang_lit_unit_site_cfg_file, root_out_dir),
|
||||
rebase_path(".", root_out_dir),
|
||||
]
|
||||
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it
|
||||
|
@ -110,11 +110,6 @@ action("check-lld") {
|
||||
}
|
||||
args = [
|
||||
"-sv",
|
||||
"--param",
|
||||
"lld_site_config=" + rebase_path(lld_lit_site_cfg_file, root_out_dir),
|
||||
"--param",
|
||||
"lld_unit_site_config=" +
|
||||
rebase_path(lld_lit_unit_site_cfg_file, root_out_dir),
|
||||
rebase_path(".", root_out_dir),
|
||||
]
|
||||
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it
|
||||
|
@ -289,11 +289,6 @@ action("check-llvm") {
|
||||
}
|
||||
args = [
|
||||
"-sv",
|
||||
"--param",
|
||||
"llvm_site_config=" + rebase_path(llvm_lit_site_cfg_file, root_out_dir),
|
||||
"--param",
|
||||
"llvm_unit_site_config=" +
|
||||
rebase_path(llvm_lit_unit_site_cfg_file, root_out_dir),
|
||||
rebase_path(".", root_out_dir),
|
||||
]
|
||||
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it
|
||||
|
Loading…
Reference in New Issue
Block a user