[all-commits] [llvm/llvm-project] e9f9ec: [CMake][AIX] Adjust plugin library extension used ...
xling-liao via All-commits
all-commits at lists.llvm.org
Thu Mar 4 08:24:17 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e9f9ec837d447857076bf337e811dd2077a72f18
https://github.com/llvm/llvm-project/commit/e9f9ec837d447857076bf337e811dd2077a72f18
Author: Xiangling Liao <Xiangling.Liao at ibm.com>
Date: 2021-03-04 (Thu, 04 Mar 2021)
Changed paths:
M llvm/cmake/modules/HandleLLVMOptions.cmake
M llvm/include/llvm/Config/config.h.cmake
M llvm/unittests/Support/DynamicLibrary/CMakeLists.txt
M llvm/unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp
Log Message:
-----------
[CMake][AIX] Adjust plugin library extension used on AIX
As stated in the CMake manual, we are supposed to use MODULE rules to generate
plugin libraries:
"MODULE libraries are plugins that are not linked into other targets but may be
loaded dynamically at runtime using dlopen-like functionality"
Besides, LLVM's plugin infrastructure fits with the AIX treatment of .so
shared objects more than it fits with the AIX treatment of .a library archives
(which may contain shared objects).
Differential revision: https://reviews.llvm.org/D96282
More information about the All-commits
mailing list