Date: Thu, 15 Aug 2024 11:56:35 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ba856133e5f1 - main - math/py-numpy: Remove clang error condition in distutils check Message-ID: <202408151156.47FBuZKW061337@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba856133e5f1a18de13106955e417f998be213e5 commit ba856133e5f1a18de13106955e417f998be213e5 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2024-08-15 09:47:25 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408151156.47FBuZKW061337>