[all-commits] [llvm/llvm-project] cef071: [llvm] add zstd to `llvm::compression` namespace

Cole Kissane via All-commits all-commits at lists.llvm.org
Wed Jul 13 19:06:40 PDT 2022


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

  Changed paths:
    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/include/llvm/Support/Compression.h
    M llvm/lib/Support/CMakeLists.txt
    M llvm/lib/Support/Compression.cpp
    M llvm/test/lit.site.cfg.py.in
    M llvm/unittests/Support/CompressionTest.cpp
    M utils/bazel/llvm_configs/llvm-config.h.cmake

  Log Message:
  -----------
  [llvm] add zstd to `llvm::compression` namespace

- add `FindZSTD.cmake`
- add zstd to `llvm::compression` namespace
- add a CMake option `LLVM_ENABLE_ZSTD` with behavior mirroring that of `LLVM_ENABLE_ZLIB`
- add tests for zstd to `llvm/unittests/Support/CompressionTest.cpp`

Reviewed By: leonardchan, MaskRay

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




More information about the All-commits mailing list