[llvm] 67e0f79 - [gn build] Use forward slashes for goma directory
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 17 17:12:03 PST 2020
Author: Arthur Eubanks
Date: 2020-11-17T17:10:36-08:00
New Revision: 67e0f791c93a23d0a523f3f05082c020f7c9109f
URL: https://github.com/llvm/llvm-project/commit/67e0f791c93a23d0a523f3f05082c020f7c9109f
DIFF: https://github.com/llvm/llvm-project/commit/67e0f791c93a23d0a523f3f05082c020f7c9109f.diff
LOG: [gn build] Use forward slashes for goma directory
gn generates improper compile_commands.json files by not escaping
backslashes.
Added:
Modified:
llvm/utils/gn/build/toolchain/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/build/toolchain/BUILD.gn b/llvm/utils/gn/build/toolchain/BUILD.gn
index b822d4e5868d..570ab1d31fdd 100644
--- a/llvm/utils/gn/build/toolchain/BUILD.gn
+++ b/llvm/utils/gn/build/toolchain/BUILD.gn
@@ -3,7 +3,7 @@ import("//llvm/utils/gn/build/toolchain/compiler.gni")
declare_args() {
# If is_goma is true, the location of the goma client install.
if (host_os == "win") {
- goma_dir = "c:\src\goma\goma-win64"
+ goma_dir = "C:/src/goma/goma-win64"
} else {
goma_dir = getenv("HOME") + "/goma"
}
More information about the llvm-commits
mailing list