[all-commits] [llvm/llvm-project] f07caf: [llvm] cmake config groundwork to have ZSTD in LLVM

Cole Kissane via All-commits all-commits at lists.llvm.org
Fri Jul 8 11:47:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f07caf20b9d35e45501c9d5d903fa182b3bdb95a
      https://github.com/llvm/llvm-project/commit/f07caf20b9d35e45501c9d5d903fa182b3bdb95a
  Author: Cole Kissane <cole.kissane at gmail.com>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M clang-tools-extra/clangd/CMakeLists.txt
    M clang-tools-extra/clangd/test/lit.cfg.py
    M clang-tools-extra/clangd/test/lit.site.cfg.py.in
    M clang/test/CMakeLists.txt
    M clang/test/lit.site.cfg.py.in
    M compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
    M compiler-rt/test/lit.common.cfg.py
    M compiler-rt/test/lit.common.configured.in
    M flang/CMakeLists.txt
    M lld/ELF/CMakeLists.txt
    M lld/test/lit.site.cfg.py.in
    M lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt
    M lldb/test/Shell/lit.site.cfg.py.in
    M llvm/CMakeLists.txt
    M llvm/cmake/config-ix.cmake
    A llvm/cmake/modules/FindZSTD.cmake
    M llvm/cmake/modules/LLVMConfig.cmake.in
    M llvm/include/llvm/Config/llvm-config.h.cmake
    M llvm/test/lit.site.cfg.py.in
    M utils/bazel/llvm_configs/llvm-config.h.cmake

  Log Message:
  -----------
  [llvm] cmake config groundwork to have ZSTD in LLVM

- added `FindZSTD.cmake`
- added a CMake option `LLVM_ENABLE_ZSTD` with behavior mirroring that of `LLVM_ENABLE_ZLIB`
- likewise added have_zstd to compiler-rt/test/lit.common.cfg.py, clang-tools-extra/clangd/test/lit.cfg.py, and several lit.site.cfg.py.in files mirroring have_zlib behavior

Reviewed By: leonardchan, MaskRay

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




More information about the All-commits mailing list