[all-commits] [llvm/llvm-project] fe2f0a: [compiler-rt] Use ZLIB_FOUND not LLVM_ENABLE_ZLIB

Alex Brachet via All-commits all-commits at lists.llvm.org
Thu May 25 11:56:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe2f0ab37c33617c23e83d4999117e54fc34c14b
      https://github.com/llvm/llvm-project/commit/fe2f0ab37c33617c23e83d4999117e54fc34c14b
  Author: Alex Brachet <abrachet at google.com>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M compiler-rt/test/CMakeLists.txt
    M compiler-rt/test/lit.common.cfg.py
    M compiler-rt/test/lit.common.configured.in

  Log Message:
  -----------
  [compiler-rt] Use ZLIB_FOUND not LLVM_ENABLE_ZLIB

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.

Differential Revision: https://reviews.llvm.org/D151229




More information about the All-commits mailing list