Closed TT-billteng closed 8 months ago
@TT-billteng I added some changes that should help with this to main.
We only bake in rpath
in dev environment. We should therefore:
dev
environmentLD_LIBRARY_PATH
or some similar mechanism to link against downloaded artifactsinitial changes are in main, will do some clean up next week
Some things to watch out for:
-rpath
into our test executables and SOs. This means there's a hardcoded path in these binaries, specifically$TT_METAL_HOME/build/lib
, from the machine that built them. We'll need to ensure that the consumer machines take the produced binaries and link properly with the local version of$TT_METAL_HOME/build/lib
. Like with UMD tests, I think easiest path here isLD_LIBRARY_PATH
. Even if we use the same machine build and upload artifacts, it might still be a good idea to ensureLD_LIBRARY_PATH
is set. Open to suggestions