This is an archive of the discontinued LLVM Phabricator instance.

[lit] Set shlibpath_var on AIX
ClosedPublic

Authored by hubert.reinterpretcast on Mar 23 2019, 12:59 PM.

Details

Summary

When building the check-all target on AIX, lit produces

warning: unable to inject shared library path on 'AIX'

This patch addresses this. LIBPATH is the environment variable of interest on AIX. Newer versions of AIX may consider LD_LIBRARY_PATH, but only when LIBPATH is unset.

Diff Detail

Repository
rC Clang

Event Timeline

Herald added a project: Restricted Project. · View Herald Transcript
xingxue accepted this revision.Mar 27 2019, 12:56 PM

LGTM. Thanks!

This revision is now accepted and ready to land.Mar 27 2019, 12:56 PM
This revision was automatically updated to reflect the committed changes.