[all-commits] [llvm/llvm-project] 06e0a3: [CMake] Fix BUILD_SHARED_LIBS build on Solaris
Rainer Orth via All-commits
all-commits at lists.llvm.org
Fri Sep 15 01:01:28 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 06e0a32178d0bd47ff6b5331acfee03f5bc7c8ff
https://github.com/llvm/llvm-project/commit/06e0a32178d0bd47ff6b5331acfee03f5bc7c8ff
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2023-09-15 (Fri, 15 Sep 2023)
Changed paths:
M llvm/lib/TargetParser/CMakeLists.txt
Log Message:
-----------
[CMake] Fix BUILD_SHARED_LIBS build on Solaris
LLVM currently doesn't build with `-DBUILD_SHARED_LIBS=ON` on Solaris:
`libLLVMTargetParser.so` uses `libkstat` functions without linking it.
Tested on `amd64-pc-solaris2.11` and `sparcv9-sun-solaris2.11`.
Differential Revision: <https://reviews.llvm.org/D158846
More information about the All-commits
mailing list