Index: llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn =================================================================== --- llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn +++ llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn @@ -54,9 +54,9 @@ ] args = [ "-o", - rebase_path(outputs[0], root_out_dir), + rebase_path(outputs[0], root_build_dir), - rebase_path(sources[0], root_out_dir), + rebase_path(sources[0], root_build_dir), ] if (llvm_enable_abi_breaking_checks) { @@ -87,8 +87,8 @@ ] 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), "BUG_REPORT_URL=https://bugs.llvm.org/", "ENABLE_BACKTRACES=1", @@ -333,8 +333,8 @@ ] 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), "LLVM_ENABLE_DUMP=", "LINK_POLLY_INTO_TOOLS=", @@ -399,8 +399,8 @@ } 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.key}=$value", ] }