[llvm] 96faef0 - [gn build] Set LLVM_TOOLS_INSTALL_DIR to bin for llvm-config
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 3 06:51:20 PDT 2022
Author: Nico Weber
Date: 2022-08-03T09:51:14-04:00
New Revision: 96faef0f6ea168cdcc570c0b8080c3ac69b99b31
URL: https://github.com/llvm/llvm-project/commit/96faef0f6ea168cdcc570c0b8080c3ac69b99b31
DIFF: https://github.com/llvm/llvm-project/commit/96faef0f6ea168cdcc570c0b8080c3ac69b99b31.diff
LOG: [gn build] Set LLVM_TOOLS_INSTALL_DIR to bin for llvm-config
Matches the CMake build, and might help with a flaky test on Windows.
See https://bugs.chromium.org/p/chromium/issues/detail?id=1348730#c2
for details.
Added:
Modified:
llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
index c09da74d9882e..35e835d6db880 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
@@ -91,7 +91,7 @@ write_cmake_config("BuildVariables.inc") {
"BUILD_SHARED_LIBS=0",
"LLVM_DYLIB_COMPONENTS_expanded=all",
"LLVM_DYLIB_VERSION=${llvm_version_major}git",
- "LLVM_TOOLS_INSTALL_DIR=",
+ "LLVM_TOOLS_INSTALL_DIR=bin",
"LLVM_INSTALL_PACKAGE_DIR=",
]
}
More information about the llvm-commits
mailing list