[gn build] Set LLVM_TOOLS_INSTALL_DIR to bin for llvm-config
authorNico Weber <thakis@chromium.org>
Wed, 3 Aug 2022 13:42:21 +0000 (09:42 -0400)
committerNico Weber <thakis@chromium.org>
Wed, 3 Aug 2022 13:51:14 +0000 (09:51 -0400)
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.

llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn

index c09da74..35e835d 100644 (file)
@@ -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=",
   ]
 }