[llvm-branch-commits] [llvm] db366f9 - Revert "Reland "[gn build] (manually) merge 68a235d07f9e70""
Hans Wennborg via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Mar 3 05:52:07 PST 2020
Author: Hans Wennborg
Date: 2020-03-03T14:31:17+01:00
New Revision: db366f91e5bc734c3834231b049c9170b93eaa70
URL: https://github.com/llvm/llvm-project/commit/db366f91e5bc734c3834231b049c9170b93eaa70
DIFF: https://github.com/llvm/llvm-project/commit/db366f91e5bc734c3834231b049c9170b93eaa70.diff
LOG: Revert "Reland "[gn build] (manually) merge 68a235d07f9e70""
This reverts commit 94d4ca90040a5f55ee29f48043881437de56681e.
I reverted 68a235d07f9e70 again in
916be8fd6a0a0feea4cefcbeb0c22c65848d7a2e.
(cherry picked from commit 93c73d4834a96ac749dabb624e07f9a146186875)
Added:
Modified:
llvm/utils/gn/secondary/clang/test/BUILD.gn
llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
llvm/utils/gn/secondary/lld/test/BUILD.gn
llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
llvm/utils/gn/secondary/llvm/test/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/test/BUILD.gn b/llvm/utils/gn/secondary/clang/test/BUILD.gn
index a16f8ea4b074..5cdbab8da281 100644
--- a/llvm/utils/gn/secondary/clang/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/test/BUILD.gn
@@ -74,9 +74,9 @@ write_lit_config("lit_site_cfg") {
}
if (llvm_enable_zlib) {
- extra_values += [ "LLVM_ENABLE_ZLIB=1" ]
+ extra_values += [ "HAVE_LIBZ=1" ]
} else {
- extra_values += [ "LLVM_ENABLE_ZLIB=0" ] # Must be 0.
+ extra_values += [ "HAVE_LIBZ=0" ] # Must be 0.
}
if (host_cpu == "x64") {
diff --git a/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
index b0c690193a2e..c03399193bab 100644
--- a/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
@@ -85,8 +85,8 @@ write_cmake_config("lit_common_configured") {
}
if (llvm_enable_zlib) {
- values += [ "LLVM_ENABLE_ZLIB=1" ]
+ values += [ "HAVE_LIBZ=1" ]
} else {
- values += [ "LLVM_ENABLE_ZLIB=0" ]
+ values += [ "HAVE_LIBZ=0" ]
}
}
diff --git a/llvm/utils/gn/secondary/lld/test/BUILD.gn b/llvm/utils/gn/secondary/lld/test/BUILD.gn
index 4479205a0233..0f8e2c13874d 100644
--- a/llvm/utils/gn/secondary/lld/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/lld/test/BUILD.gn
@@ -49,9 +49,9 @@ write_lit_cfg("lit_site_cfg") {
}
if (llvm_enable_zlib) {
- extra_values += [ "LLVM_ENABLE_ZLIB=1" ]
+ extra_values += [ "HAVE_LIBZ=1" ]
} else {
- extra_values += [ "LLVM_ENABLE_ZLIB=0" ] # Must be 0.
+ extra_values += [ "HAVE_LIBZ=0" ] # Must be 0.
}
if (current_cpu == "x64" || current_cpu == "arm64" ||
diff --git a/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn b/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
index 517d96d7ee89..96be1e98fe9b 100644
--- a/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
@@ -208,6 +208,7 @@ write_cmake_config("config") {
"HAVE_ISATTY=",
"HAVE_LIBPTHREAD=",
"HAVE_PTHREAD_SETNAME_NP=",
+ "HAVE_LIBZ=",
"HAVE_PREAD=",
"HAVE_PTHREAD_GETSPECIFIC=",
"HAVE_PTHREAD_H=",
@@ -226,6 +227,7 @@ write_cmake_config("config") {
"HAVE_SYS_TIME_H=",
"HAVE_TERMIOS_H=",
"HAVE_UNISTD_H=",
+ "HAVE_ZLIB_H=",
"HAVE__CHSIZE_S=1",
"HAVE__UNWIND_BACKTRACE=",
"stricmp=_stricmp",
@@ -244,6 +246,7 @@ write_cmake_config("config") {
"HAVE_ISATTY=1",
"HAVE_LIBPTHREAD=1",
"HAVE_PTHREAD_SETNAME_NP=1",
+ "HAVE_LIBZ=1",
"HAVE_PREAD=1",
"HAVE_PTHREAD_GETSPECIFIC=1",
"HAVE_PTHREAD_H=1",
@@ -262,6 +265,7 @@ write_cmake_config("config") {
"HAVE_SYS_TIME_H=1",
"HAVE_TERMIOS_H=1",
"HAVE_UNISTD_H=1",
+ "HAVE_ZLIB_H=1",
"HAVE__CHSIZE_S=",
"HAVE__UNWIND_BACKTRACE=1",
"stricmp=",
diff --git a/llvm/utils/gn/secondary/llvm/test/BUILD.gn b/llvm/utils/gn/secondary/llvm/test/BUILD.gn
index b9d649a0d15e..5ac7a72437e0 100644
--- a/llvm/utils/gn/secondary/llvm/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/test/BUILD.gn
@@ -166,9 +166,9 @@ write_lit_config("lit_site_cfg") {
}
if (llvm_enable_zlib) {
- extra_values += [ "LLVM_ENABLE_ZLIB=1" ]
+ extra_values += [ "HAVE_LIBZ=1" ]
} else {
- extra_values += [ "LLVM_ENABLE_ZLIB=0" ] # Must be 0.
+ extra_values += [ "HAVE_LIBZ=0" ] # Must be 0.
}
}
More information about the llvm-branch-commits
mailing list