Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2023 15:56:15 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ac51c704beac - main - misc/py-numcodecs: Make AVX2 SIMD instructions optional
Message-ID:  <202301311556.30VFuFtk067746@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ac51c704beacac38caa4268acdd51378b5b63c33

commit ac51c704beacac38caa4268acdd51378b5b63c33
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-31 15:55:13 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-31 15:56:11 +0000

    misc/py-numcodecs: Make AVX2 SIMD instructions optional
    
    Reported by:    fallout
---
 misc/py-numcodecs/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/misc/py-numcodecs/Makefile b/misc/py-numcodecs/Makefile
index 2139f1b0a3ed..c06fa17ac58a 100644
--- a/misc/py-numcodecs/Makefile
+++ b/misc/py-numcodecs/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	numcodecs
 DISTVERSION=	0.11.0
+PORTREVISION=	1
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -23,6 +24,12 @@ USE_PYTHON=	distutils cython autoplist pytest # tests fail to find the library i
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 TEST_WRKSRC=	${WRKSRC}/numcodecs/tests
 
+OPTIONS_DEFINE=		AVX2
+
+AVX2_DESC=		Use AVX2 SIMD instructions
+AVX2_CONFIGURE_ENV_OFF=	DISABLE_NUMCODECS_AVX2=yes
+AVX2_MAKE_ENV_OFF=	DISABLE_NUMCODECS_AVX2=yes
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/numcodecs/*${PYTHON_EXT_SUFFIX}.so
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301311556.30VFuFtk067746>