Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2021 22:20:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 257400] science/py-scipy Add OPTION for Atlas blas
Message-ID:  <bug-257400-21822-6uD7PQK7Im@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257400-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257400-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257400

alt2600@icloud.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #226716|0                           |1
        is obsolete|                            |

--- Comment #9 from alt2600@icloud.com ---
Created attachment 226789
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D226789&action=
=3Dedit
git-diff-scipy-add-atlas-rev1

confirmed under openblas based bhyve to configure and build correctly. Noti=
ced
under PR 251718 and from the configure this wants both openblas and blas so=
 I
added back a LIB_DEPENDS for the OPENBLAS option to include it, but otherwi=
se
the uses blaslapack:openblas caused no issue. not sure if in the end this p=
ort
wants cblas or how applicable that is with openblas but I just wanted to
confirm no breakage, not extend features. This patch will allow ATLAS or
OpenBLAS use, maintaining OpenBLAS as the default. I consider this patch to=
 now
be tested and complete.

it should work for Netlib case, but if Atlas is installed it will bring in =
an
Atlas dependency, despite possibly not linking to it in reality. If someone
wants to get netlib I'm sure they can explore the syntax further. I can con=
firm
it appears to configure for it, build, and install, but still shows an Atlas
pkg dependency once installed so it remains excluded. see math/py-numpy if
someone really wanted to take the time for netlib.=20


### make configure tail excerpt
creating /tmp/tmpqmtazvj7/tmp
creating /tmp/tmpqmtazvj7/tmp/tmpqmtazvj7
compile options: '-MMD -MF /tmp/tmpqmtazvj7/file.c.d -c'
cc: /tmp/tmpqmtazvj7/file.c
  FOUND:
    libraries =3D ['openblas', 'blas']
    library_dirs =3D ['/usr/local/lib']
    include_dirs =3D ['/usr/include', '/usr/local/include']
    language =3D c
    define_macros =3D [('HAVE_CBLAS', None)]

  FOUND:
    define_macros =3D [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
    libraries =3D ['openblas', 'blas']
    library_dirs =3D ['/usr/local/lib']
    include_dirs =3D ['/usr/include', '/usr/local/include']
    language =3D c

non-existing path in 'scipy/signal/windows': 'tests'
non-existing path in 'scipy/sparse': 'sparsetools/sparsetools_impl.h'
non-existing path in 'scipy/sparse': 'sparsetools/bsr_impl.h'
non-existing path in 'scipy/sparse': 'sparsetools/csc_impl.h'
non-existing path in 'scipy/sparse': 'sparsetools/csr_impl.h'
non-existing path in 'scipy/sparse': 'sparsetools/other_impl.h'
[makenpz] scipy/special/tests/data/boost.npz not rebuilt
[makenpz] scipy/special/tests/data/gsl.npz not rebuilt
[makenpz] scipy/special/tests/data/local.npz not rebuilt
running config



/usr/ports/science/py-scipy $ sudo make install clean
Password:
=3D=3D=3D>  Installing for py38-scipy-1.6.0
=3D=3D=3D>  Checking if py38-scipy is already installed
=3D=3D=3D>   Registering installation for py38-scipy-1.6.0
Installing py38-scipy-1.6.0...


/usr/ports/science/py-scipy $ pkg info -dr py38-scipy
py38-scipy-1.6.0
Depends on     :
        py38-numpy-1.16.6_2,1
        openblas-0.3.16,1
        blas-3.10.0
        python38-3.8.11
        gcc10-10.3.0
        py38-setuptools-57.0.0

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257400-21822-6uD7PQK7Im>