[llvm] e610a0e - [gn] port eb0e4b1415800
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 10 06:39:39 PDT 2024
Author: Nico Weber
Date: 2024-09-10T09:39:31-04:00
New Revision: e610a0efc36ed9499eaba51178708dbc5ef8a6d7
URL: https://github.com/llvm/llvm-project/commit/e610a0efc36ed9499eaba51178708dbc5ef8a6d7
DIFF: https://github.com/llvm/llvm-project/commit/e610a0efc36ed9499eaba51178708dbc5ef8a6d7.diff
LOG: [gn] port eb0e4b1415800
Added:
Modified:
llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
index 2b358f74ae6c37..281698cab31d3f 100644
--- a/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
@@ -111,8 +111,17 @@ write_cmake_config("lit_common_configured") {
}
if (llvm_enable_zlib) {
- values += [ "ZLIB_FOUND_PYBOOL=1" ]
+ # FIXME: Include dir and library are wrong on Windows; look at zlib_path.
+ values += [
+ "ZLIB_FOUND_PYBOOL=1",
+ "ZLIB_INCLUDE_DIR=-I=",
+ "ZLIB_LIBRARY=-lz",
+ ]
} else {
- values += [ "ZLIB_FOUND_PYBOOL=0" ]
+ values += [
+ "ZLIB_FOUND_PYBOOL=0",
+ "ZLIB_INCLUDE_DIR=",
+ "ZLIB_LIBRARY=",
+ ]
}
}
More information about the llvm-commits
mailing list