[all-commits] [llvm/llvm-project] c0b4f2: tweak zstd behavior in cmake and llvm config for b...

Cole Kissane via All-commits all-commits at lists.llvm.org
Thu Sep 1 07:50:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0b4f248df79f184adba856f13a950a53c881f3f
      https://github.com/llvm/llvm-project/commit/c0b4f248df79f184adba856f13a950a53c881f3f
  Author: Cole Kissane <cole.kissane at gmail.com>
  Date:   2022-09-01 (Thu, 01 Sep 2022)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/cmake/modules/LLVMConfig.cmake.in
    M llvm/lib/Support/CMakeLists.txt
    M llvm/tools/llvm-config/CMakeLists.txt

  Log Message:
  -----------
  tweak zstd behavior in cmake and llvm config for better testing

add LLVM_PREFER_STATIC_ZSTD (default TRUE) cmake config flag
(compression test seems to fail for shared zstd on windows, note that zstd multithread is by default disabled in the static build so it may be a hidden variable)
propagate variable zstd_DIR in LLVMConfig.cmake.in
fix llvm-config CMakeLists.txt behavior for absolute libs windows
get zstd lib name

Reviewed By: phosek

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




More information about the All-commits mailing list