Skip to content

Commit 18d38b2

Browse files
committed
[gn build] port ed98676
1 parent ed98676 commit 18d38b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/utils/gn/secondary/lld/test/BUILD.gn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ template("write_lit_cfg") {
1414
"LIT_SITE_CFG_IN_HEADER=## Autogenerated from $input, do not edit",
1515
"LLD_BINARY_DIR=" +
1616
rebase_path(get_label_info("//lld", "target_out_dir")),
17+
"LLD_LIBS_DIR=", # FIXME: for shared builds only (?)
18+
"LLD_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),
1719
"LLD_SOURCE_DIR=" + rebase_path("//lld"),
1820
"LLVM_BINARY_DIR=" +
1921
rebase_path(get_label_info("//llvm", "target_out_dir")),
20-
"LLVM_LIBRARY_OUTPUT_INTDIR=", # FIXME: for shared builds only (?)
2122
"LLVM_LIBS_DIR=", # needed only for shared builds
2223
"LLVM_LIT_TOOLS_DIR=", # Intentionally empty, matches cmake build.
23-
"LLVM_RUNTIME_OUTPUT_INTDIR=" + rebase_path("$root_out_dir/bin"),
2424
"LLVM_SOURCE_DIR=" + rebase_path("//llvm"),
2525
"LLVM_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),
2626
"Python3_EXECUTABLE=$python_path",

llvm/utils/gn/secondary/llvm/test/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ write_lit_config("lit_site_cfg") {
5959
"LLVM_ENABLE_FFI=0",
6060
"LLVM_HAVE_OPT_VIEWER_MODULES=0",
6161
"LLVM_HOST_TRIPLE=$llvm_current_triple",
62-
"LLVM_LIBRARY_DIR=" + rebase_path("$root_out_dir/lib", dir),
62+
"LLVM_LIBS_DIR=" + rebase_path("$root_out_dir/lib", dir),
6363
"LLVM_LINK_LLVM_DYLIB=0",
6464
"LLVM_LIT_TOOLS_DIR=", # Intentionally empty, matches cmake build.
6565
"LLVM_NATIVE_ARCH=$native_target",

0 commit comments

Comments
 (0)