Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jul 2021 06:13:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 257400] science/py-scipy add option for Atlas blas
Message-ID:  <bug-257400-21822-q4uQUjTnzx@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
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody)
<python@FreeBSD.org> for maintainer-feedback:
Bug 257400: science/py-scipy add option for Atlas blas
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257400



--- Description ---
Not sure I made the git diff correctly, getting used to this, and hacking a=
s I
go, so I will also submit all the individual files. I took the basic Makefi=
le
framework from py-numpy and tweaked it so it would be appropriate for py-sc=
ipy.
I tried to do netlib as well, but while it seemed to configure to use the r=
ight
libraries the final package had a dependency on atlas-math. I didn't dig to
hard to find why, but I suspect it is because the build notes for scipy say
they will default built against Atlas if found as presumably the preferred
blas. As I doubt anyone would be using netlib with this package, I opted to
limit things to Atlas and OpenBLAS. The issue is I have no way to test the
OpenBLAS is still working ok, but I can confirm the Atlas build is fine, an=
d am
using it to build towards qgis ultimately. I believe the OpenBLAS case shou=
ld
work as it is the same mechanism of numpy, which seems to be the master lib=
rary
to scipy if I'm reading things right. Would be great to get this patch to a=
llow
Atlas as well.


### ATLAS Configure abbreviated tail

creating /tmp/tmpcc9xcnvz/tmp
creating /tmp/tmpcc9xcnvz/tmp/tmpcc9xcnvz
compile options: '-MMD -MF /tmp/tmpcc9xcnvz/file.c.d -c'
cc: /tmp/tmpcc9xcnvz/file.c
  libraries tatlas not found in ['/usr/lib', '/usr/local/lib',
'/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.2/10.3.0/../../../']
Library tatlas was not found. Ignoring
  FOUND:
    include_dirs =3D ['/usr/local/include']
    language =3D f77
    libraries =3D ['alapack', 'ptf77blas', 'ptcblas']
    library_dirs =3D ['/usr/local/lib']
    define_macros =3D [('ATLAS_INFO', '"None"')]

accelerate_info:
  NOT AVAILABLE

  FOUND:
    include_dirs =3D ['/usr/local/include']
    language =3D f77
    libraries =3D ['alapack', 'ptf77blas', 'ptcblas']
    library_dirs =3D ['/usr/local/lib']
    define_macros =3D [('ATLAS_INFO', '"None"')]

blas_opt_info:
blas_mkl_info:
customize UnixCCompiler
C compiler: cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG
-O2 -pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -=
O2
-pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -fPIC

creating /tmp/tmpqzo50prz/tmp
creating /tmp/tmpqzo50prz/tmp/tmpqzo50prz
compile options: '-MMD -MF /tmp/tmpqzo50prz/file.c.d -c'
cc: /tmp/tmpqzo50prz/file.c
  libraries mkl_rt not found in ['/usr/lib', '/usr/local/lib',
'/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.2/10.3.0/../../../']
  NOT AVAILABLE

blis_info:
customize UnixCCompiler
C compiler: cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG
-O2 -pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -=
O2
-pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -fPIC

creating /tmp/tmp32nyh_rz/tmp
creating /tmp/tmp32nyh_rz/tmp/tmp32nyh_rz
compile options: '-MMD -MF /tmp/tmp32nyh_rz/file.c.d -c'
cc: /tmp/tmp32nyh_rz/file.c
  libraries blis not found in ['/usr/lib', '/usr/local/lib',
'/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.2/10.3.0/../../../']
  NOT AVAILABLE

atlas_3_10_blas_threads_info:
Setting PTATLAS=3DATLAS
customize UnixCCompiler
C compiler: cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG
-O2 -pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -=
O2
-pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -fPIC

creating /tmp/tmp1llo3grv/tmp
creating /tmp/tmp1llo3grv/tmp/tmp1llo3grv
compile options: '-MMD -MF /tmp/tmp1llo3grv/file.c.d -c'
cc: /tmp/tmp1llo3grv/file.c
Setting PTATLAS=3DATLAS
Setting PTATLAS=3DATLAS
Setting PTATLAS=3DATLAS
Setting PTATLAS=3DATLAS
customize UnixCCompiler
C compiler: cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG
-O2 -pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -=
O2
-pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -fPIC

creating /tmp/tmp3uzvn3cw/tmp
creating /tmp/tmp3uzvn3cw/tmp/tmp3uzvn3cw
compile options: '-MMD -MF /tmp/tmp3uzvn3cw/file.c.d -c'
cc: /tmp/tmp3uzvn3cw/file.c
  libraries tatlas not found in ['/usr/lib', '/usr/local/lib',
'/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.2/10.3.0/../../../']
Library tatlas was not found. Ignoring
  FOUND:
    include_dirs =3D ['/usr/local/include']
    language =3D c
    define_macros =3D [('HAVE_CBLAS', None), ('ATLAS_INFO', '"None"')]
    libraries =3D ['ptf77blas', 'ptcblas']
    library_dirs =3D ['/usr/local/lib']

  FOUND:
    include_dirs =3D ['/usr/local/include']
    language =3D c
    define_macros =3D [('HAVE_CBLAS', None), ('ATLAS_INFO', '"None"')]
    libraries =3D ['ptf77blas', 'ptcblas']
    library_dirs =3D ['/usr/local/lib']

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

## pkg info -dr py38-scipy
/usr/ports/science/py-scipy|$} pkg info -dr py38-scipy
py38-scipy-1.6.0
Depends on     :
	py38-numpy-1.16.6_2,1
	atlas-math-3.8.4_18,1
	python38-3.8.11
	gcc10-10.3.0
	py38-setuptools-57.0.0



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