diff options
author | Andrzej Janik <[email protected]> | 2024-03-17 14:52:45 +0100 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2024-03-17 14:52:45 +0100 |
commit | 7b8b9cb35f175d25cab90a9cffd7f97177472fa8 (patch) | |
tree | ed887390524f5a823738b5b8d398926ee5963b61 | |
parent | f47a93a9512fbc91ab614e118abfa7378bf1f4b9 (diff) | |
download | ZLUDA-7b8b9cb35f175d25cab90a9cffd7f97177472fa8.tar.gz ZLUDA-7b8b9cb35f175d25cab90a9cffd7f97177472fa8.zip |
Disable even more optional LLVM componentsbuild_fixes2
-rw-r--r-- | ext/llvm-sys.rs/build.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/llvm-sys.rs/build.rs b/ext/llvm-sys.rs/build.rs index c83930f..9b43c8b 100644 --- a/ext/llvm-sys.rs/build.rs +++ b/ext/llvm-sys.rs/build.rs @@ -48,8 +48,14 @@ fn build_cmake_targets<'a>( cmake .always_configure(true) // Should be detected automatically, but we have reports of - // LLVM fiding ZLIB on Windows and then failing to link it + // LLVM fiding ZLIB on Windows and then failing to link it. + // Out of caution we explicitly disable all autodetectable components + .define("LLVM_ENABLE_LIBXML2", "OFF") .define("LLVM_ENABLE_ZLIB", "OFF") + .define("LLVM_ENABLE_ZSTD", "OFF") + .define("LLVM_ENABLE_CURL", "OFF") + .define("LLVM_ENABLE_HTTPLIB", "OFF") + .define("LLVM_ENABLE_LIBEDIT", "OFF") .define("LLVM_ENABLE_TERMINFO", "OFF") .define("LLVM_BUILD_TOOLS", "OFF") .define("LLVM_TARGETS_TO_BUILD", "") |