Skip to content

Potential wrong order in default include dirs for rpath wrappers #5037

@Crivella

Description

@Crivella

Currently we set the install directory of a library to take precedence over the current library location

https://github.com/easybuilders/easybuild-framework/blob/develop/easybuild/framework/easyblock.py#L2956-L2962

This can lead to rebuilds of an existing software to fail due to picking up the already installed library instead of the newly compiled one (either in multi-stage build or in running test suites)

EG:

I think that picking up the $ORIGIN locaitons first should always be favored as, in case of an installed library, it will pick its own location, but would allow newly compiled binaries or multi library projects to pick up the correct libs when used from the build directory.

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