Skip to content

Build LibraryProduct DAG #669

Open
Open
@staticfloat

Description

@staticfloat

We need to inspect all LibraryProducts within a build, look at their dependencies, then do a breadth-first walk of those LibraryProducts when dlopen()'ing them in the __init__() method of JLL packages. This is important because on platforms such as Windows, where we don't have RPATHs, we may accidentally attempt to open a library that needs something else in its same directory, and it can't find it. :/

Alternative solutions are to push that directory onto the PATH or cd() to the lib directory before dlopen()ing
(unsatisfiactory as some libraries may not be in that same directory) or to embed XML manifests into the .dll's as a part of the BB audit process (Still not sure how to do this properly).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions