[PATCH] D103824: [AIX] Build libLTO as MODULE rather than SHARED
David Tenty via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 10 08:16:08 PDT 2021
daltenty marked an inline comment as done.
daltenty added inline comments.
================
Comment at: llvm/tools/lto/CMakeLists.txt:24
-add_llvm_library(LTO SHARED INSTALL_WITH_TOOLCHAIN ${SOURCES} DEPENDS
+if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.16.0" AND CMAKE_SYSTEM_NAME STREQUAL AIX)
+ set(LTO_LIBRARY_TYPE MODULE)
----------------
w2yehia wrote:
> can we loosen the condition to apply to all versions of cmake on AIX?
Sure, this change shouldn't have a negative affect on older versions
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103824/new/
https://reviews.llvm.org/D103824
More information about the llvm-commits
mailing list