[llvm] r350963 - gn build: s/root_out_dir/root_build_dir/g in llvm/utils/gn/build/write_cmake_config.gni.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 11 11:51:49 PST 2019
Author: pcc
Date: Fri Jan 11 11:51:49 2019
New Revision: 350963
URL: http://llvm.org/viewvc/llvm-project?rev=350963&view=rev
Log:
gn build: s/root_out_dir/root_build_dir/g in llvm/utils/gn/build/write_cmake_config.gni.
This makes the generated files go to the right place when using a non-default toolchain.
Differential Revision: https://reviews.llvm.org/D56427
Modified:
llvm/trunk/utils/gn/build/write_cmake_config.gni
Modified: llvm/trunk/utils/gn/build/write_cmake_config.gni
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/build/write_cmake_config.gni?rev=350963&r1=350962&r2=350963&view=diff
==============================================================================
--- llvm/trunk/utils/gn/build/write_cmake_config.gni (original)
+++ llvm/trunk/utils/gn/build/write_cmake_config.gni Fri Jan 11 11:51:49 2019
@@ -38,8 +38,8 @@ template("write_cmake_config") {
]
args = [
"-o",
- rebase_path(outputs[0], root_out_dir),
- rebase_path(sources[0], root_out_dir),
+ rebase_path(outputs[0], root_build_dir),
+ rebase_path(sources[0], root_build_dir),
] + invoker.values
forward_variables_from(invoker,
More information about the llvm-commits
mailing list