Skip to content

Regression: CMAKE_LIBRARY_PATH=lib added to modulefiles #4844

@Flamefire

Description

@Flamefire

I've noticed that EB 5 starts adding CMAKE_LIBRARY_PATH+=lib (i.e. prepend etc) to the module files. I can't find why/how as this isn't necessary.
I only found:

self.CMAKE_LIBRARY_PATH = ['lib64'] # only needed for installations with standalone lib64
in ModuleLoadEnvironment

Is there some logic to avoid the symlink (lib64->lib) and just replace that?

The likely intention here (and behavior before) was to add CMAKE_LIBRARY_PATH+=lib64 if and only if lib doesn't exist.

Where could such logic be implemented in the new system? @lexming ?

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions