From nobody Thu Aug 15 11:56:35 2024 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 4Wl3W82v9kz5TVgQ; Thu, 15 Aug 2024 11:56: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wl3W76m15z43Sp; Thu, 15 Aug 2024 11:56:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723722995; 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=0w7zwLa3jaGlp0IYhDhYr/mEkQYTGZJbsamtfao/fn0=; b=eMXgpKyVdo1e0PGW1ErWMQCu58juChhQShUv5xKhSwDFMrVmcmWQuC8TjZW8ETnoJ91IFI HMwgz5mgazdLiHv2Y9DZLcVZwZ9cEkLLKdY+x58t+Z05r5qmxuXCdmEskLRt6OneTHAmIf Vqywqy9qqFEZiJynhYn9ESbQVE1lx0dT+tnxx/SSHqsyxtE1szJK8CGCfHtlHJ+EltL1gS 0tAiExoHhl7z+e8u8+JrqLTnh1f4Q9m3qV2XrQQ2lYn/guh1TPQhMzg+aOtFOUtxQFT3dB FFp2r8OkDbZ9eSAh3q8obR25ynUvonZgN0uTOqcMMzgSQT1nV/9JOMn2J9ce1A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723722995; a=rsa-sha256; cv=none; b=U1UoMVoB4YWzxNL498JQv72HbFXzNc5+s6ptMdp2tMdei1RuEJndD/3OFHl54NCGAKQ5xC MYGzGGzchyqecMax8fw8rYCQtl6TSb5pZosm/tcM7C+GydkOdJ2rx+2BTreyJ+bWweufHz NoFrgJP5UnQQPV9dpGDQcy0BbpGZrtXmL/LBaXbLs3owS/qiRsaa/O0HGoaTYapicOMOoy WzECYNGP2nvMOzE99aTXONk4+cyjJCaEbYUfJFB0G0t7zKCb/n+XC9FhY1b/K5TV8p8vQK kHGysvDXqXzAsRrt4iSRrG8Xk1NgPLwkZqI7I14EMIAsbDgn8AcNP5bjxgW0Pg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723722995; 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=0w7zwLa3jaGlp0IYhDhYr/mEkQYTGZJbsamtfao/fn0=; b=NDOuP71/zeP9W/dgeAYe6R8czT1vo6ll36DqPSj/Xp/4kCEMQS0P1JCgoVzhOOpzkYVRlX v207iKYZ++k8pNEn1JxdufThz5GRs7FPQylJwZyWDnCtjJC+v/bX02hOuy+8WtHsnyEZth ZIWcjMAlH6VoqnkyyG/E7Wl378/NyDhBgeAg14vJTsWVa+SiQFiinUhtzq3/h5nzTu+b5c FYAxEBnl6i9hoi5y0+VUszbgrvG017xOz6xtLK9VnNnd8BYFu7IEiICSMpZv9VYu0D2FuR u2BXIRwhrduP+NXVXhXltbJL+2fq/c2xNWFgITvKKJJTKLtHprhkxMUmZ1HRxA== 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 4Wl3W76N4XzMBv; Thu, 15 Aug 2024 11:56:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47FBuZZf061340; Thu, 15 Aug 2024 11:56:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47FBuZKW061337; Thu, 15 Aug 2024 11:56:35 GMT (envelope-from git) Date: Thu, 15 Aug 2024 11:56:35 GMT Message-Id: <202408151156.47FBuZKW061337@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: ba856133e5f1 - main - math/py-numpy: Remove clang error condition in distutils check 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ba856133e5f1a18de13106955e417f998be213e5 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba856133e5f1a18de13106955e417f998be213e5 commit ba856133e5f1a18de13106955e417f998be213e5 Author: Dimitry Andric AuthorDate: 2024-08-15 09:47:25 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-08-15 11:53:55 +0000 math/py-numpy: Remove clang error condition in distutils check - Bump PORTREVISION for package change PR: 280715 Tested by: dim (with Clang 15 to 19) --- math/py-numpy/Makefile | 2 +- math/py-numpy/files/patch-clang | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index 25beecd6312b..d462d649969d 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -1,6 +1,6 @@ PORTNAME= numpy PORTVERSION= 1.26.4 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= math python MASTER_SITES= PYPI \ diff --git a/math/py-numpy/files/patch-clang b/math/py-numpy/files/patch-clang new file mode 100644 index 000000000000..5802f130651e --- /dev/null +++ b/math/py-numpy/files/patch-clang @@ -0,0 +1,13 @@ +--- numpy/distutils/checks/cpu_avx512_spr.c.orig 2024-02-05 21:17:48 UTC ++++ numpy/distutils/checks/cpu_avx512_spr.c +@@ -15,10 +15,6 @@ int main(int argc, char **argv) + + int main(int argc, char **argv) + { +-/* clang has a bug regarding our spr coode, see gh-23730. */ +-#if __clang__ +-#error +-#endif + __m512h a = _mm512_loadu_ph((void*)argv[argc-1]); + __m512h temp = _mm512_fmadd_ph(a, a, a); + _mm512_storeu_ph((void*)(argv[argc-1]), temp);