From nobody Tue Jun 9 13:59:50 2026 X-Original-To: dev-commits-ports-all@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 4gZVsQ0Wm3z6g2bH; Tue, 09 Jun 2026 13:59:54 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta004.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gZVsP5P68z3sMc; Tue, 09 Jun 2026 13:59:53 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4001b.ext.cloudfilter.net ([10.228.9.171]) by cmsmtp with ESMTPS id Wwb9wCHTS2ZUlWwzhwGJtA; Tue, 09 Jun 2026 13:59:53 +0000 Received: from spqr.komquats.com ([70.66.136.217]) by cmsmtp with ESMTPSA id WwzfwJ0ks1EHRWwzgw8KmI; Tue, 09 Jun 2026 13:59:52 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=TrzrRTXh c=1 sm=1 tr=0 ts=6a281c58 a=h7br+8Ma+Xn9xscxy5znUg==:117 a=h7br+8Ma+Xn9xscxy5znUg==:17 a=b8+xJRgcbepLoiPQPEzLjyvsYN4=:19 a=kj9zAlcOel0A:10 a=FelO9ux0wxsA:10 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=YxBL1-UpAAAA:8 a=aRm3SEyxm2LcSmc-8wEA:9 a=CjuIK1q_8ugA:10 a=LK5xJRSDVpKd5WXXoEvA:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy.cwsent.com [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id F271D27B; Tue, 09 Jun 2026 06:59:50 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 91B6B12B; Tue, 09 Jun 2026 06:59:50 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Charlie Li cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: 3c11b048c3de - main - math/py-numpy: add SIMD options In-reply-to: <6a278130.1f3eb.649f8c3f@gitrepo.freebsd.org> References: <6a278130.1f3eb.649f8c3f@gitrepo.freebsd.org> Comments: In-reply-to Charlie Li message dated "Tue, 09 Jun 2026 02:57:52 -0000." List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 09 Jun 2026 06:59:50 -0700 Message-Id: <20260609135950.91B6B12B@slippy.cwsent.com> X-CMAE-Envelope: MS4xfK4MQiKVV2k3jePmDrG4Ux2asr/wPdte2ZdVcjibFkDFG/W0yBc39NnrswmmpP/xY7PBAsNNCQg0B2C/QJwPHHtSesmaaxvcx+F/2BUBvPy2pxSoz2Hz ykqhtpmw4Fth8uJdT/8cLtvcd1oFccgjqqqNhgP1tR5jePHbj4c2kcrM+AW6+zuIckwC/GeORhKZnGD7aptxtSz8Lj4dw5zvp5S5XhuOGxKIcwvH5cI1x93c C931BeGE3YdMbBF3sGfnKvG39FXbckhmjUPgAILlZAY19d8FydDEr+Ra16FhWyoUQDRgL8KT/xzybLZ7/6XtYHL072nJLfdY8Aa/hQBGORs= X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Queue-Id: 4gZVsP5P68z3sMc X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated In message <6a278130.1f3eb.649f8c3f@gitrepo.freebsd.org>, Charlie Li writes: > The branch main has been updated by vishwin: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=3c11b048c3de3af38dabc809a80dd0 > fbac51c7ff > > commit 3c11b048c3de3af38dabc809a80dd0fbac51c7ff > Author: Charlie Li > AuthorDate: 2026-06-09 02:46:29 +0000 > Commit: Charlie Li > CommitDate: 2026-06-09 02:46:29 +0000 > > math/py-numpy: add SIMD options > > Per the 2.4 release notes, the default/minimum baseline for compiled > optimisations on amd64 and i386 is increased to the v2 microarchitecture. > Thus, those using CPUs without the full feature set from v2 will > encounter SIGILL when running numpy with the default/minimum baseline. > > Add option to disable compiled optimisations, relying entirely on > dispatched code paths when available and applicable. Not recommended > except for very old CPUs. Also add native option. > > PR: 295633, 295664 > --- > math/py-numpy/Makefile | 16 +++++++++++++--- > 1 file changed, 13 insertions(+), 3 deletions(-) > > diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile > index e40e3339dc6d..865fcf7c2bb3 100644 > --- a/math/py-numpy/Makefile > +++ b/math/py-numpy/Makefile > @@ -1,5 +1,6 @@ > PORTNAME= numpy > DISTVERSION= 2.4.6 > +PORTREVISION= 1 > PORTEPOCH= 1 > CATEGORIES= math python > MASTER_SITES= PYPI \ > @@ -23,7 +24,8 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=5.3. > 0:devel/py-hypothesis@${PY_ > USES= compiler:c++17-lang cpe fortran pkgconfig python:3.11+ > shebangfix > USE_PYTHON= autoplist concurrent cython pep517 pytest > > -PEP517_BUILD_CONFIG_SETTING= -Csetup-args=-Dallow-noblas=false > +PEP517_BUILD_CONFIG_SETTING= -Csetup-args=-Dallow-noblas=false \ > + -Csetup-args=-Dcpu-baseline-detect=disabled > > WITHOUT_FBSD10_FIX= yes > SHEBANG_GLOB= *.py > @@ -36,18 +38,26 @@ TEST_WRKSRC= ${WRKDIR} > TEST_ARGS= --pyargs numpy > > OPTIONS_DEFINE= DOCS > -OPTIONS_SINGLE= BLASLIB > +OPTIONS_SINGLE= BLASLIB SIMD > OPTIONS_SINGLE_BLASLIB= BLIS FLEXIBLAS NETLIB OPENBLAS > -OPTIONS_DEFAULT= OPENBLAS > +OPTIONS_SINGLE_SIMD= MIN NATIVE NONE > +OPTIONS_DEFAULT= MIN OPENBLAS > > BLIS_DESC= BLIS BLAS-like implementation > FLEXIBLAS_DESC= FlexiBLAS BLAS implementation > +MIN_DESC= Minimum recommended CPU features ${MIN_DESC_${ARCH}} > +MIN_DESC_amd64= (x86-64-v2 microarchitecture) > +MIN_DESC_i386= (x86-64-v2 microarchitecture) > +NONE_DESC= Dispatched optimizations only (not recommended except o > ld CPUs) > > BLIS_USES= blaslapack:blis > BLIS_VARS= PEP517_BUILD_CONFIG_SETTING+="-Csetup-args=-Dblas=blis > -Csetup-args=-Dlapack=flame" > BLIS_BROKEN= math/libflame does not provide a pkg-config file > FLEXIBLAS_USES= blaslapack:flexiblas > FLEXIBLAS_VARS= PEP517_BUILD_CONFIG_SETTING+="-Csetup-args=-Dbl > as=flexiblas -Csetup-args=-Dlapack=flexiblas" > +MIN_VARS= PEP517_BUILD_CONFIG_SETTING+="-Csetup-args=-Dcpu-baseli > ne=min" > +NATIVE_VARS= PEP517_BUILD_CONFIG_SETTING+="-Csetup-args=-Dcpu-baseli > ne=native" > +NONE_VARS= PEP517_BUILD_CONFIG_SETTING+="-Csetup-args=-Dcpu-baseli > ne=none" > NETLIB_LIB_DEPENDS= libcblas.so:math/cblas > NETLIB_USES= blaslapack:netlib > NETLIB_VARS= PEP517_BUILD_CONFIG_SETTING+="-Csetup-args=-Dblas=blas > -Csetup-args=-Dlapack=lapack" > Would this need an UPDATING entry? -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e**(i*pi)+1=0