This is an archive of the discontinued LLVM Phabricator instance.

[AIX] Add %pluginext and update tests to use proper pluginext
ClosedPublic

Authored by daltenty on Apr 27 2021, 4:38 PM.

Details

Summary

As a follow on to D96282, since bug point passes is built as a module the proper file extension to use is LLVM_PLUGIN_EXT, rather than SHLIBEXT. Using SHLIBEXT causes the tests to load a non-existent file on AIX. We also adjust the PluginsTest unittest to use LLVM_PLUGIN_EXT for similar reasons.

This change should hopefully make little difference to other platforms, since generally SHLIBEXT=LTDL_SHLIB_EXT=CMAKE_SHARED_LIBRARY_SUFFIX and LLVM_PLUGIN_EXT=CMAKE_SHARED_LIBRARY_SUFFIX on every platform except AIX.

Diff Detail

Event Timeline

daltenty requested review of this revision.Apr 27 2021, 4:38 PM
daltenty created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2021, 4:38 PM
daltenty edited the summary of this revision. (Show Details)Apr 27 2021, 4:58 PM
This revision is now accepted and ready to land.Apr 27 2021, 5:14 PM
This revision was landed with ongoing or failed builds.Apr 27 2021, 5:35 PM
This revision was automatically updated to reflect the committed changes.