Allow opting out of RTLD_GLOBAL#954
Allow opting out of RTLD_GLOBAL#954andrewkaufman wants to merge 5 commits intoImageEngine:masterfrom
Conversation
Set IECORE_FORCE_GLOBAL_SYMBOLS to force it on. Note we're adding this for backwards compatibility during a limited testing phase at IE. We anticipate removing it entirely once proven safe.
|
Looks like Travis doesn't run for draft PRs - could you un-draft it? |
|
I might have to force push something to kick Travis into gear |
We still need to use RTLD_GLOBAL when importing imath to avoid the following error: `TypeError: No to_python (by-value) converter found for C++ type: Imath_2_2::Vec2<float>`
|
It looks like Travis is fine, so I guess its down to some difference between the IE build of pyilmbase and the GafferHQ/dependencies build of the same? Adding c0f860e is enough to get |
|
Although, just launching gaffer at IE now gives me this complaint:
which comes from an IE node which uses
Maybe we've just unmasked a problem with our symbol exports in IECoreVDB |
That seems the most likely at this point, although I looked at the GafferHQ build script and it all seems pretty vanilla. |
|
|
Could it be as simple as needing to link |
Good call, I bet thats missing from the SConstruct |
|
|
|
It looks like the houdini failure might be accurate.... Of the 3 enums declared in IndexedIO.h, it seems 2 of them ( |
|
Hmm, this comment implies maybe we do need c0f860e and we don't know why Travis isn't complaining about it? |
|
Closing in favor of #1127 |
Following up on #810, I've added an environment variable to enable/disable
RTLD_GLOBALwhile importing the IECore python module and loading the IECoreMaya/IECoreHoudini c++ plugins.Note I'm putting this up as a draft, in case anyone else wants to test it. Its not currently working at IE, the tests fail immediately as mentioned in #810, and interactive use is similar (though a slightly different error in each app).