This is an archive of the discontinued LLVM Phabricator instance.

[zorg] Pass environment to getPollyBuildFactory and getAOSPBuildFactory
ClosedPublic

Authored by kparzysz on Aug 21 2018, 12:44 PM.

Details

Summary

This will allow setting LD_LIBRARY_PATH.

I'm updating compilers on hexagon-build-02 and hexagon-build-03 and I need to make sure that the correct LD_LIBRARY_PATH is set.

I'm not a buildbot expert, so this is more of a "I hope this works" type of a patch...

Diff Detail

Repository
rL LLVM

Event Timeline

kparzysz created this revision.Aug 21 2018, 12:44 PM
gkistanova accepted this revision.Sep 24 2018, 4:19 PM

Hello Krzysztof,

Looks good, assuming you want to make builders use the locally set LD_LIBRARY_PATH env, and not push a particular value down to a builder.
Please feel free to commit once you will fix the nitpick.

zorg/buildbot/builders/PollyBuilder.py
39

You do not need to check for None here. You do not need to update if the given array is empty either.

if env:

would do.

This revision is now accepted and ready to land.Sep 24 2018, 4:19 PM
kparzysz marked an inline comment as done.Jan 24 2019, 12:44 PM
This revision was automatically updated to reflect the committed changes.