[PATCH] D103824: [AIX] Build libLTO as MODULE rather than SHARED
wael yehia via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 8 17:08:03 PDT 2021
w2yehia added a comment.
LGTM
================
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)
----------------
can we loosen the condition to apply to all versions of cmake on AIX?
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