Anna <[email protected]> writes:

> On 2025-11-28 22:04, Sam James wrote:
>>I've not included instructions on manually setting it for stable by
>>unnmasking flags given we're about to stable it. Ditto with rolling back
>>to eselect-ldso/eselect-blas given it would likely encourage people to do
>>it and cause more problems.
>>
>>Bug: https://bugs.gentoo.org/958884
>>Bug: https://bugs.gentoo.org/963034
>>Bug: https://bugs.gentoo.org/965702
>>Bug: https://bugs.gentoo.org/966749
>>Signed-off-by: Sam James <[email protected]>
>>---
>>I've hacked this up quickly to start with.
>>
>>mgorny, feel free to take it over if you can, as I've not been following
>>flexiblas very closely.
>>
>> .../2025-11-28-flexiblas-migration.en.txt     | 46 +++++++++++++++++++
>> 1 file changed, 46 insertions(+)
>> create mode 100644 
>> 2025-11-28-flexiblas-migration/2025-11-28-flexiblas-migration.en.txt
>>
>>diff --git 
>>a/2025-11-28-flexiblas-migration/2025-11-28-flexiblas-migration.en.txt 
>>b/2025-11-28-flexiblas-migration/2025-11-28-flexiblas-migration.en.txt
>>new file mode 100644
>>index 0000000..8c22d60
>>--- /dev/null
>>+++ b/2025-11-28-flexiblas-migration/2025-11-28-flexiblas-migration.en.txt
>>@@ -0,0 +1,46 @@
>>+Title: FlexiBLAS migration imminent
>>+Author: Sam James <[email protected]>
>>+Posted: 2025-11-28
>>+Revision: 1
>>+News-Item-Format: 2.0
>>+Display-If-Installed: app-eselect/eselect-blas
>>+Display-If-Installed: app-eselect/eselect-cblas
>>+Display-If-Installed: app-eselect/eselect-lapack
>>+Display-If-Installed: sci-libs/flexiblas
>>+Display-If-Installed: virtual/blas
>>+Display-If-Installed: virtual/cblas
>>+
>>+Gentoo is adopting FlexiBLAS (sci-libs/flexiblas) [0][1] as the primary way 
>>of
>>+switching BLAS implementations at runtime.
>>+
>>+The previous eselect-based 'eselect-blas', 'eselect-cblas', and 
>>'eselect-lapack'
>>+approach will be phased out in favor of this because of various reliability
>>+problems we hit.
>>+
>>+FlexiBLAS allows both system-wide and per-user configuration and supersedes
>>+the functionality from the old setup.
>
> There should be instructions on how to switch BLAS implementations
> when FlexiBLAS is used, as opposed to the old eselect-based
> method. Otherwise users (like me) will be left consufed.

I don't really want us to duplicate documentation, though. The
flexiblas(1) man page is pretty good.

>       If application are build against FlexiBLAS, there are severval ways to 
> select the active BLAS library. The installed (and known) BLAS backends can 
> be listed via
>
>           flexiblas list
>
>       The default BLAS backend can be set using
>
>          flexiblas default NAME_OF_THE_LIBRARY

>
>>+The defaults in profiles will change shortly for stable users. For ~arch
>>+users, the default was changed a little while ago.
>>+
>>+Action required
>>+---------------
>>+
>>+Please check your configuration for any stale references to eselect-ldso:
>>+
>>+    $ grep -rsin eselect-ldso /etc/portage
>>+
>>+and drop any reference to to it in make.conf USE or package.use.
>>+
>>+Please also deselect the relevant packages from world:
>>+
>>+    $ emerge --deselect app-eselect/eselect-blas app-eselect/eselect-cblas
>>+    $ emerge --deselect app-eselect/eselect-lapack
>>+
>>+Then complete a world upgrade and depclean:
>>+
>>+    $ emerge -a -uvDU @world
>>+    $ emerge -ac
>>+
>>+[0] 
>>https://public-inbox.gentoo.org/gentoo-dev/[email protected]/
>>+[1] https://bugs.gentoo.org/963034
>>
>>base-commit: 920ea8cad219d51bf655c95afc07ef0826370f41
>> -- 2.52.0
>>
>>

Reply via email to