Skip to content

[feature] Handle library loops (--start-group, --end-group) #6530

Open
@shellshocked2003

Description

@shellshocked2003

It seems that going from v1.21 to v1.22, the library ordering specified in self.cpp_info.libs is no longer maintained. Is this true or am I missing something?

The package I'm creating depends on Intel MKL, which requires a specific linking ordering as well as -Wl,--start-group and -Wl,--end-group surrounding the MKL libraries being linked to. I have the ordering specified in a Bintray package for MKL which was working fine for v1.21. When updating to v1.22, the ordering specified for the libraries in the conanfile.py for MKL is no longer maintained, so linking fails.

Is there a way to force conan to maintain the ordering or what is the best way to deal with this? Seems like this issue is related to #6510.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions