This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Use ZLIB_FOUND not LLVM_ENABLE_ZLIB
ClosedPublic

Authored by abrachet on May 23 2023, 10:04 AM.

Details

Summary

LLVM_ENABLE_ZLIB is set to On by default and does not imply that ZLIB
was actually found, only being set to FORCE_ON would imply that it was
found before control reached compiler-rt/test/CMakeLists.txt. Instead,
use ZLIB_FOUND which guarantees that zlib is available.

Diff Detail

Event Timeline

abrachet created this revision.May 23 2023, 10:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 23 2023, 10:04 AM
Herald added subscribers: Enna1, dberris. · View Herald Transcript
abrachet requested review of this revision.May 23 2023, 10:04 AM
vitalybuka accepted this revision.May 23 2023, 4:45 PM
This revision is now accepted and ready to land.May 23 2023, 4:45 PM
phosek accepted this revision.May 23 2023, 8:05 PM

LGTM

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2023, 11:56 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript