[Slackbuilds-users] Updates - 20231014.1

Erich Ritz erich.public at protonmail.com
Mon Oct 16 13:24:43 UTC 2023


------- Original Message -------
On Sunday, October 15th, 2023 at 6:45 PM, fourtysixandtwo <fourtysixandtwo at sliderr.net> wrote:


> Me neither, I've just followed the information from the numpy slackbuild and gone with OpenBLAS the majority of the time while testing my builds and their dependees.
> 
> "It is highly recommended to install libraries implementing BLAS and
> LAPACK before installing numpy. You may choose between:
> a) BLAS and LAPACK (reference but unoptimized and thus slow)
> b) OpenBLAS (optimized, provides LAPACK too)
> c) ATLAS and LAPACK (optimized), good to read README.ATLAS
> All these are available on SlackBuilds.org."
> 

I also use OpenBLAS as much as possible for all builds requiring BLAS/LAPACK:

$ grep -i  -e '\(blas\|lapack\)' /var/lib/slackrepo/etr/hintfiles/*.hint
/var/lib/slackrepo/etr/hintfiles/OpenSceneGraph.hint:ADDREQUIRES="dcmtk gdal gtkglext libgta libLAS fltk wxGTK3"
/var/lib/slackrepo/etr/hintfiles/arpack-ng.hint:DELREQUIRES="blas lapack"
/var/lib/slackrepo/etr/hintfiles/arpack-ng.hint:ADDREQUIRES="OpenBLAS"
/var/lib/slackrepo/etr/hintfiles/blas.hint:SKIP="Use OpenBLAS instead"
/var/lib/slackrepo/etr/hintfiles/lapack.hint:SKIP="Use OpenBLAS instead"
/var/lib/slackrepo/etr/hintfiles/numpy.hint:ADDREQUIRES="OpenBLAS"
/var/lib/slackrepo/etr/hintfiles/numpy3.hint:ADDREQUIRES="OpenBLAS"
/var/lib/slackrepo/etr/hintfiles/octave.hint:DELREQUIRES="lapack"
/var/lib/slackrepo/etr/hintfiles/octave.hint:ADDREQUIRES="OpenBLAS suitesparse glpk arpack-ng qrupdate sundials qhull hdf5 fltk ftgl gl2ps GraphicsMagick portaudio rapidjson zulu-openjdk11"
/var/lib/slackrepo/etr/hintfiles/python2-numpy.hint:ADDREQUIRES="OpenBLAS"
/var/lib/slackrepo/etr/hintfiles/python3-numpy.hint:ADDREQUIRES="OpenBLAS"
/var/lib/slackrepo/etr/hintfiles/python3-scipy.hint:ADDREQUIRES="python3-matplotlib OpenBLAS"
/var/lib/slackrepo/etr/hintfiles/python3-scipy.hint:DELREQUIRES="lapack"
/var/lib/slackrepo/etr/hintfiles/qrupdate.hint:DELREQUIRES="blas lapack"
/var/lib/slackrepo/etr/hintfiles/qrupdate.hint:ADDREQUIRES="OpenBLAS"
/var/lib/slackrepo/etr/hintfiles/scipy3.hint:ADDREQUIRES="python3-matplotlib OpenBLAS"
/var/lib/slackrepo/etr/hintfiles/scipy3.hint:DELREQUIRES="lapack"
/var/lib/slackrepo/etr/hintfiles/suitesparse.hint:DELREQUIRES="lapack"
/var/lib/slackrepo/etr/hintfiles/suitesparse.hint:OPTIONS="BLAS=-lopenblas LAPACK=' ' "
/var/lib/slackrepo/etr/hintfiles/sundials.hint:ADDREQUIRES="OpenBLAS suitesparse"


Erich

> On Sun, Oct 15, 2023 at 4:48 PM Jeremy Hansen <jebrhansen+SBo at gmail.com> wrote:
> 
> > On Sun, Oct 15, 2023, 9:38 AM fourtysixandtwo <fourtysixandtwo at sliderr.net> wrote:
> > 
> > > Tried it on my build vm and saw the same thing. python3-mesonpy is also missing as a dep.
> > > 
> > > I was able to build scipy without openBLAS by adding cblas as a dep and making the following change to the slackbuild. (Everything needs to be rebuilt without openBLAS):
> > > 
> > > -python3 -m build --wheel --no-isolation
> > > +python3 -m build --wheel --no-isolation -Csetup-args="-Dblas=blas" -Csetup-args="-Dlapack=lapack"
> > 
> > 
> > Is there a benefit with cblas over openBLAS? I'm not familiar enough with either of them.
> > 
> > Jeremy
> > _______________________________________________
> > SlackBuilds-users mailing list
> > SlackBuilds-users at slackbuilds.org
> > https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> > Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> > FAQ - https://slackbuilds.org/faq/


More information about the SlackBuilds-users mailing list