[Bazel] Port e8bff9ae54 (move LLVM_ENABLE_ZLIB)

This commit is contained in:
Fangrui Song 2022-02-07 11:45:31 -08:00
parent b4c6d1bb37
commit c27890b5fd
2 changed files with 3 additions and 3 deletions

View File

@ -300,9 +300,6 @@
/* Doesn't use `cmakedefine` because it is allowed to be empty. */
#define LLVM_DEFAULT_TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE}"
/* Define if zlib compression is available */
#cmakedefine01 LLVM_ENABLE_ZLIB
/* Define if overriding target triple is enabled */
#cmakedefine LLVM_TARGET_TRIPLE_ENV "${LLVM_TARGET_TRIPLE_ENV}"

View File

@ -88,6 +88,9 @@
/* Define if we have curl and want to use it */
#cmakedefine LLVM_ENABLE_CURL ${LLVM_ENABLE_CURL}
/* Define if zlib compression is available */
#cmakedefine01 LLVM_ENABLE_ZLIB
/* Define if LLVM was built with a dependency to the libtensorflow dynamic library */
#cmakedefine LLVM_HAVE_TF_API