Summary: | sci-libs/openblas: make eselect-ldso behaviour default and remove eselect-ldso flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aisha Tammy <gentoo> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | lumin |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 747136 |
Description
Aisha Tammy
2020-10-08 11:49:21 UTC
Hmmm, it turns out that our current method for doing this via ld.so doesn't allow for different soname. So it is going to be hard to make this the default behaviour with just symlinks and without adding extra files. Currently each provider also installs their own library, libblis.so in /usr/<libdir>/ and just changes the soname to libblas.so.3 and puts them in /usr/<libdir>/blas/<provider>/libblas.so.3. This feels a bit redundant as the only change is the soname. Unfortunately I am not sure if there is any workaround. (In reply to Aisha Tammy from comment #1) > Hmmm, it turns out that our current method for doing this via ld.so doesn't > allow for different soname. > > So it is going to be hard to make this the default behaviour with just > symlinks and without adding extra files. > > Currently each provider also installs their own library, libblis.so in I should have mentioned, libblis.so is an example, by sci-libs/blis. When using eselect-ldso with blis, the only thing that is done is that libblis sources are repacked with another soname. https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-libs/blis/files/blis-0.6.0-blas-provider.patch > /usr/<libdir>/ and just changes the soname to libblas.so.3 and puts them in > /usr/<libdir>/blas/<provider>/libblas.so.3. > > This feels a bit redundant as the only change is the soname. > > Unfortunately I am not sure if there is any workaround. (In reply to Aisha Tammy from comment #1) > Hmmm, it turns out that our current method for doing this via ld.so doesn't > allow for different soname. > > So it is going to be hard to make this the default behaviour with just > symlinks and without adding extra files. > > Currently each provider also installs their own library, libblis.so in > /usr/<libdir>/ and just changes the soname to libblas.so.3 and puts them in > /usr/<libdir>/blas/<provider>/libblas.so.3. > > This feels a bit redundant as the only change is the soname. > > Unfortunately I am not sure if there is any workaround. It will no longer be redundant if we strip non-BLAS symbols from libblas.so.3. Providing two shared libraries is the cost for offering the runtime switches. |