[PATCH] D112275: [AIX] Enable rtl for plugins test
Steven Wan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 22 09:08:53 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG28ef8052d228: [AIX] Enable rtl for plugins test (authored by stevewan).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112275/new/
https://reviews.llvm.org/D112275
Files:
llvm/unittests/Passes/CMakeLists.txt
Index: llvm/unittests/Passes/CMakeLists.txt
===================================================================
--- llvm/unittests/Passes/CMakeLists.txt
+++ llvm/unittests/Passes/CMakeLists.txt
@@ -12,6 +12,11 @@
# work with DLLs on Windows (where a shared library can't have undefined
# references), so just skip this testcase on Windows.
if (NOT WIN32)
+ # On AIX, enable run-time linking to allow symbols from the plugins shared
+ # objects to be properly bound.
+ if(CMAKE_SYSTEM_NAME STREQUAL "AIX")
+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-brtl")
+ endif()
set(LLVM_LINK_COMPONENTS Support Passes Core AsmParser)
add_llvm_unittest(PluginsTests
PluginsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112275.381572.patch
Type: text/x-patch
Size: 707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211022/e831bd73/attachment.bin>
More information about the llvm-commits
mailing list