GafferHQ / dependencies

All 3rd party dependencies necessary for building Gaffer
33 stars 26 forks source link

Build : Aswf-docker 2022 compatibility fixes WIP #247

Closed boberfly closed 7 months ago

boberfly commented 9 months ago

Hi John, after you mentioned that you guys are looking into the aswf-dockers as a base, I tried building with 2022 (centos7 base) to see how far I could get before trying the 2023 one and had some fixes and workarounds here. I'll leave as a draft, feel free to just cherry-pick what makes sense.

So I built with 2022 but decided to run it in 2023 to see what breaks which seems like an effective way to find these problems with linking against the system libraries.

I used ci-vfxall but probably it is best to use ci-common so the existing libraries don't interfere with the ones that get built with Gaffer. Having said that I unset /usr/local/lib:/usr/local/lib64 from LD_LIBRARY_PATH as well as unsetting PYTHONPATH.

The outstanding issues that this PR doesn't address and what I think the ci-common image would still have issues with is as follows:

boberfly commented 9 months ago

Update - I've rebased to ci-base image which omits Qt and other libraries.

johnhaddon commented 9 months ago

after you mentioned that you guys are looking into the aswf-dockers as a base, I tried building with 2022 (centos7 base) to see how far I could get before trying the 2023 one and had some fixes and workarounds here. I'll leave as a draft, feel free to just cherry-pick what makes sense.

Thanks Alex! To be clear, our current plan for 1.4 is to offer builds from two containers :

The latter will be considered "beta" for most of the duration of 1.4, and will then be the only build available for 1.5.

johnhaddon commented 7 months ago

Closing this one, since I think we're closing in on a final ASWF-based container for Gaffer 1.4. Thanks for being the in the vanguard for us on this one @boberfly.