-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Labels
Description
Currently we set the install directory of a library to take precedence over the current library location
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:
- LLVM
- {tools}[foss/2023b] ADIOS2 v2.10.2 easybuild-easyconfigs#24316 was picking up UCX in tests (even when explicitly removed) do to a previous installation (was working wint
--installpath=$(mktemp -d)which took me a while to figure out why my usual test-PR command was not working
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.