[llvm] 4755335 - [gn build] manually port c747b7d1d9a2 (config.osx_sysroot)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 22 09:51:05 PDT 2021
Author: Nico Weber
Date: 2021-06-22T12:50:58-04:00
New Revision: 47553356ef0d3cda501af056baeba346002c62b3
URL: https://github.com/llvm/llvm-project/commit/47553356ef0d3cda501af056baeba346002c62b3
DIFF: https://github.com/llvm/llvm-project/commit/47553356ef0d3cda501af056baeba346002c62b3.diff
LOG: [gn build] manually port c747b7d1d9a2 (config.osx_sysroot)
Added:
Modified:
llvm/utils/gn/secondary/llvm/test/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/test/BUILD.gn b/llvm/utils/gn/secondary/llvm/test/BUILD.gn
index 3d577215d619b..6820260cac58f 100644
--- a/llvm/utils/gn/secondary/llvm/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/test/BUILD.gn
@@ -85,6 +85,10 @@ write_lit_config("lit_site_cfg") {
"LLVM_BUILD_EXAMPLES=0",
"LLVM_HAVE_TF_AOT=0",
"LLVM_HAVE_TF_API=0",
+
+ # See https://reviews.llvm.org/D104332
+ # FIXME: Maybe set to mac_sdk_path if host_os == "mac"?
+ "CMAKE_OSX_SYSROOT=",
]
if (host_cpu == "x64") {
More information about the llvm-commits
mailing list