[all-commits] [llvm/llvm-project] c9fd0d: [CMake] Pass ZLIB_LIBRARY_* to runtimes bootstrap ...
Alexandre Ganea via All-commits
all-commits at lists.llvm.org
Tue Apr 14 16:23:32 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c9fd0dbbcd0b05153b2a2e20658f7c147fe42ccb
https://github.com/llvm/llvm-project/commit/c9fd0dbbcd0b05153b2a2e20658f7c147fe42ccb
Author: Alexandre Ganea <aganea at havenstudios.com>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M llvm/cmake/modules/LLVMExternalProjectUtils.cmake
M llvm/utils/release/build_llvm_release.bat
Log Message:
-----------
[CMake] Pass ZLIB_LIBRARY_* to runtimes bootstrap (#191555)
Runtimes external project (compiler-rt / combined runtimes) reconfigures
with an initial cache that did not propagate `ZLIB_LIBRARY_RELEASE`.
CMake 4.x `FindZLIB` may leave `ZLIB_LIBRARY` unset while finding
headers, leading to:
```
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "...")
```
and later when loading LLVM exports from the main build:
```
The link interface of target "LLVMSupport" contains: ZLIB::ZLIB
but the target was not found.
```
This was found by building the Windows installer with:
```
llvm\utils\release\build_llvm_release.bat --x64 --version 23.0.0 --skip-checkout --local-python
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list