[PATCH] D138361: [cmake] Fix Findzstd.cmake to handle OpenBSD shared libraries
Brad Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 19 21:17:37 PST 2022
brad added a comment.
humpty$ grep -i zstd CMakeCache.txt
//Use zstd for compression/decompression if available. Can be ON,
LLVM_ENABLE_ZSTD:STRING=ON
//Use static version of zstd. Can be TRUE, FALSE
LLVM_USE_STATIC_ZSTD:BOOL=FALSE
zstd_INCLUDE_DIR:PATH=/usr/local/include
zstd_LIBRARY:FILEPATH=/usr/local/lib/libzstd.so.6.1
zstd_STATIC_LIBRARY:FILEPATH=/usr/local/lib/libzstd.a
//ADVANCED property for variable: zstd_INCLUDE_DIR
zstd_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: zstd_LIBRARY
zstd_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: zstd_STATIC_LIBRARY
zstd_STATIC_LIBRARY-ADVANCED:INTERNAL=1
No error with the patch applied. Looking at build.ninja it appears to be linking against the zstd shared library. I am running a buil.d
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138361/new/
https://reviews.llvm.org/D138361
More information about the llvm-commits
mailing list