git: 3320a13a1220 - main - devel/py-pythran: fix bundled xsimd VSX backend with clang
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Sep 2026 12:54:17 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3320a13a1220410927b6cc2789467702340b9c1a
commit 3320a13a1220410927b6cc2789467702340b9c1a
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-09-16 10:23:23 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-09-24 12:53:37 +0000
devel/py-pythran: fix bundled xsimd VSX backend with clang
pythran 0.19.0 bundles xsimd 14.1, whose new VSX backend uses
vector long / vector bool long, which clang rejects on PowerPC.
Backport upstream xsimd commit 8df8da7 (released in 14.3.0).
Fixes science/py-scipy on powerpc64 and powerpc64le.
---
devel/py-pythran/Makefile | 6 ++++++
devel/py-pythran/distinfo | 4 +++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/devel/py-pythran/Makefile b/devel/py-pythran/Makefile
index fd6333babc8a..85e7e45e8a64 100644
--- a/devel/py-pythran/Makefile
+++ b/devel/py-pythran/Makefile
@@ -1,9 +1,13 @@
PORTNAME= pythran
PORTVERSION= 0.19.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PATCH_SITES= https://github.com/xtensor-stack/xsimd/commit/
+PATCHFILES= 8df8da7d9ce069348994179f840e3f1680c0dbef.patch:-p2
+
MAINTAINER= wen@FreeBSD.org
COMMENT= Ahead of Time compiler for numeric kernels
WWW= https://github.com/serge-sans-paille/pythran
@@ -21,6 +25,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \
USES= python
USE_PYTHON= autoplist concurrent pep517
+PATCH_WRKSRC= ${WRKSRC}/pythran
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-pythran/distinfo b/devel/py-pythran/distinfo
index ab9a1326a013..83426244dee4 100644
--- a/devel/py-pythran/distinfo
+++ b/devel/py-pythran/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1787364802
+TIMESTAMP = 1789547479
SHA256 (pythran-0.19.0.tar.gz) = 18a096daa8b4bbe3ace06ce5d7325be5ff57aec4cf67b91834cf1b757b3e5392
SIZE (pythran-0.19.0.tar.gz) = 2465050
+SHA256 (8df8da7d9ce069348994179f840e3f1680c0dbef.patch) = 44112481f45ca45a69a1013002af44966dc1c7473fbd55d44641eec6406ba925
+SIZE (8df8da7d9ce069348994179f840e3f1680c0dbef.patch) = 7127