From nobody Sun Jul 25 06:13:24 2021 X-Original-To: python@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0BC62127C9D5 for ; Sun, 25 Jul 2021 06:13:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GXXmh6rHRz4rpr for ; Sun, 25 Jul 2021 06:13:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D39DD1EA16 for ; Sun, 25 Jul 2021 06:13:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16P6DODp046360 for ; Sun, 25 Jul 2021 06:13:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16P6DOgT046359 for python@FreeBSD.org; Sun, 25 Jul 2021 06:13:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-feedback requested: [Bug 257400] science/py-scipy add option for Atlas blas Date: Sun, 25 Jul 2021 06:13:24 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-python (Nobody) 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