From nobody Thu Jul 29 22:20:53 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 DE81512A999E for ; Thu, 29 Jul 2021 22:20:53 +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 4GbQ395kB8z4nQb for ; Thu, 29 Jul 2021 22:20:53 +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 AD1BA19CC5 for ; Thu, 29 Jul 2021 22:20:53 +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 16TMKrTi074025 for ; Thu, 29 Jul 2021 22:20:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16TMKrxX074024 for python@FreeBSD.org; Thu, 29 Jul 2021 22:20:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 257400] science/py-scipy Add OPTION for Atlas blas Date: Thu, 29 Jul 2021 22:20:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: alt2600@icloud.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 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.=