From nobody Sat Jul 08 03:14:35 2023 X-Original-To: dev-commits-ports-main@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 4Qyb3J10MMz4lCfn; Sat, 8 Jul 2023 03:14:36 +0000 (UTC) (envelope-from git@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 4Qyb3J0NVxz4GQ8; Sat, 8 Jul 2023 03:14:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688786076; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KEIcpPDVnaNXpZ2Mbo0um7RzcmYdvDCZ0IndLdB8zBk=; b=WGhI7o9TINgNYV95T8cq4e0TGGoLLoFf20pPjgqjhRHpbuJQ7toOuuCPNEGTuU1UjvWmgQ Mb7qY5sf+32nG2Vx4h+Mnx95o1NystShPdELDOFjAeWiQQ766eAAnPdw+xN74fD+oe1F3s jRoXq7CBJK31GTKTBvJkZ1RBkFPmGR5Ea6HBmlPapVNCE7fhKe29d58XHQtGh9DX0xhwao 0x27cz3O61uJyD/NMLL/2EV35Naa6PYic/1odEGudR9rxEDucg4+99zRHe8FsXWKjZHELA C69GFyAqgM1DrFMaVbSO5rh47SRpT9RAvp0H44HOhvFZ0Ak/apvRT6SWP8UG0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688786076; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KEIcpPDVnaNXpZ2Mbo0um7RzcmYdvDCZ0IndLdB8zBk=; b=kUMfazTF94gGlyeHm0j2joCfB/cwN1lsOnOxxlc79/7dPUbb4NHzxyaIQtapWone3hLTJB uqElvc87AMGRAf1F3xjxFaONk6xEQKwdMLkyo+HO0bjcFfnMbRjbVKewZaz7Pa7jo8xfdz Ezus2fdYcd6psMBAI51Vc1jg6SGog4H4/mEm+FvncUy4tdlGKlOLp1xVWqsjUU8Vinn9xQ VAGneXWI7XHnFQOJMKXqcPWvtEUmDWG/y8uDaB8KDF2p1wdMFsL/AGaUOMQESSITRRpY+T Q8XaN0YxZ5X+iHNo5w5IXEgb3XWJtocZjNO4o8c1RcMtMrHxDlfzO6SX8wjh/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688786076; a=rsa-sha256; cv=none; b=Z5YMSRLVV41uAyipidEPDIKbMwpvMsiw5QVfntqjboio1C06x0ax3D5ps8ROSFGK3fh3Yk aNlDh2d8Wmwi5zZpnpH7BKDf/bKaXz+ubMBBJUCm49JkaXyYo3yjSG3zbjchdw7eq1XmUk J/kxLsi7wd48kx+chLQtOihfopp5rOQtAUJCK9stauic7km/ut0r+liBPqYvcPqhB/OV/W HOPcXs1TWfuB7/+wrUbINryGzy5UTW6SLjLggH8wM92ntgDFMTs3qyLxftoEuqAQzalDfy UXw9LjfolISueb4QCO4xRjVPBlPZAPG6jlzrP0o9buQ4RgBkL/zvHjiuZbI34A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4Qyb3H6Xzrz14Qy; Sat, 8 Jul 2023 03:14:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3683EZem042108; Sat, 8 Jul 2023 03:14:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3683EZBT042107; Sat, 8 Jul 2023 03:14:35 GMT (envelope-from git) Date: Sat, 8 Jul 2023 03:14:35 GMT Message-Id: <202307080314.3683EZBT042107@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 23c876e70d17 - main - misc/py-numcodecs: Fix build on i386 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 23c876e70d172c35529341613c39d5823070b13a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=23c876e70d172c35529341613c39d5823070b13a commit 23c876e70d172c35529341613c39d5823070b13a Author: Yuri Victorovich AuthorDate: 2023-07-08 03:14:10 +0000 Commit: Yuri Victorovich CommitDate: 2023-07-08 03:14:10 +0000 misc/py-numcodecs: Fix build on i386 --- misc/py-numcodecs/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/misc/py-numcodecs/Makefile b/misc/py-numcodecs/Makefile index 629165de4772..7ba24dcfcaca 100644 --- a/misc/py-numcodecs/Makefile +++ b/misc/py-numcodecs/Makefile @@ -12,8 +12,6 @@ WWW= https://numcodecs.readthedocs.io/en/stable/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BROKEN_i386= compilation fails: error: SSE2 is not supported by the target architecture/platform ..., see https://github.com/zarr-developers/numcodecs/issues/444 - BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py-cpuinfo>0:sysutils/py-py-cpuinfo@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}entrypoints>0:devel/py-entrypoints@${PY_FLAVOR} \ ${PYNUMPY} @@ -32,6 +30,12 @@ AVX2_DESC= Use AVX2 SIMD instructions AVX2_CONFIGURE_ENV_OFF= DISABLE_NUMCODECS_AVX2=yes AVX2_MAKE_ENV_OFF= DISABLE_NUMCODECS_AVX2=yes +.include + +.if ${ARCH} == i386 +MAKE_ENV+= DISABLE_NUMCODECS_SSE2=yes DISABLE_NUMCODECS_AVX2=yes +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/numcodecs/*${PYTHON_EXT_SUFFIX}.so