[llvm] b570eb5 - [gn build] Manually port 44de2bb
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 15 11:06:17 PDT 2024
Author: Arthur Eubanks
Date: 2024-04-15T18:05:47Z
New Revision: b570eb5e99567c92636279d014f376938fe4e79a
URL: https://github.com/llvm/llvm-project/commit/b570eb5e99567c92636279d014f376938fe4e79a
DIFF: https://github.com/llvm/llvm-project/commit/b570eb5e99567c92636279d014f376938fe4e79a.diff
LOG: [gn build] Manually port 44de2bb
Added:
Modified:
llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
llvm/utils/gn/secondary/clang/test/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn b/llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
index 7273803dd51659..a3fb952b1112b8 100644
--- a/llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
@@ -27,6 +27,7 @@ write_cmake_config("Config") {
"ENABLE_LINKER_BUILD_ID=",
"ENABLE_X86_RELAX_RELOCATIONS=1",
"CLANG_ENABLE_OBJC_REWRITER=1", # FIXME: flag?
+ "CLANG_ENABLE_CIR=",
"CLANG_SYSTEMZ_DEFAULT_ARCH=z10",
"PPC_LINUX_DEFAULT_IEEELONGDOUBLE=",
]
diff --git a/llvm/utils/gn/secondary/clang/test/BUILD.gn b/llvm/utils/gn/secondary/clang/test/BUILD.gn
index bcf7c86ab9d083..4ed9352da9c98a 100644
--- a/llvm/utils/gn/secondary/clang/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/test/BUILD.gn
@@ -48,6 +48,7 @@ write_lit_config("lit_site_cfg") {
"CLANG_BUILT_STANDALONE=0",
"CLANG_DEFAULT_CXX_STDLIB=", # Empty string means "default value" here.
"CLANG_DEFAULT_PIE_ON_LINUX=0",
+ "CLANG_ENABLE_CIR=0",
"CLANG_PLUGIN_SUPPORT=0", # FIXME: Analysis/plugins need global -fPIC
"CURRENT_TOOLS_DIR=" + rebase_path("$root_out_dir/bin", dir),
"CLANG_VENDOR_UTI=org.llvm.clang",
More information about the llvm-commits
mailing list