[llvm] 19c3722 - [gn build] (manually) port feeff8a37c35
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 7 18:22:20 PST 2022
Author: Nico Weber
Date: 2022-01-07T21:22:08-05:00
New Revision: 19c37223d7a94e8c166f46d1bab5c1872f0df33b
URL: https://github.com/llvm/llvm-project/commit/19c37223d7a94e8c166f46d1bab5c1872f0df33b
DIFF: https://github.com/llvm/llvm-project/commit/19c37223d7a94e8c166f46d1bab5c1872f0df33b.diff
LOG: [gn build] (manually) port feeff8a37c35
This reverts commit 3ca69283442183d71f13700d860f5912b631bcb0.
492de35df44 relanded in feeff8a37c35.
The reland only uses CMAKE_INSTALL_INCLUDEDIR and not CMAKE_INSTALL_BINDIR
in llvm-config, so this reland reflects that.
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 c4aead27cb0a5..f9a0427e5178c 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
@@ -73,6 +73,7 @@ write_cmake_config("BuildVariables.inc") {
}
values = [
+ "CMAKE_INSTALL_INCLUDEDIR=include",
"LLVM_SRC_ROOT=" + rebase_path("//llvm"),
"LLVM_OBJ_ROOT=" + rebase_path(root_out_dir),
More information about the llvm-commits
mailing list