aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-11-20 08:32:26 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-11-20 08:34:08 +0000
commit2410c87f8d69d5b81902f7eb47f45e74fb7359f0 (patch)
treee24f68a6d664fa925871cdd38c374e944248902e
parentba1a081a0341481b4a533848bfd66a82f10d222a (diff)
downloadports-2410c87f8d69d5b81902f7eb47f45e74fb7359f0.tar.gz
ports-2410c87f8d69d5b81902f7eb47f45e74fb7359f0.zip
devel/py-llvmlite: update 0.39.1 → 0.41.1
PR: 273355 Approved by: dal.ca (maintainer's timeout; 83 days)
-rw-r--r--devel/py-llvmlite/Makefile7
-rw-r--r--devel/py-llvmlite/distinfo6
-rw-r--r--devel/py-llvmlite/files/patch-ffi-Makefile.freebsd14
3 files changed, 10 insertions, 17 deletions
diff --git a/devel/py-llvmlite/Makefile b/devel/py-llvmlite/Makefile
index 84fcf0ac72f3..245710cb35bb 100644
--- a/devel/py-llvmlite/Makefile
+++ b/devel/py-llvmlite/Makefile
@@ -1,6 +1,5 @@
PORTNAME= llvmlite
-DISTVERSION= 0.39.1
-PORTREVISION= 1
+DISTVERSION= 0.41.1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,13 +15,13 @@ BUILD_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER}
RUN_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER}
USES= compiler:c++11-lib python fortran
-USE_PYTHON= distutils autoplist pytest
+USE_PYTHON= distutils autoplist pytest # many tests fail, see https://github.com/numba/llvmlite/issues/1015
CXXFLAGS= -fPIC
MAKE_ENV= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_VER}
-LLVM_VER= 11 # see the compatibility table https://github.com/numba/llvmlite#compatibility
+LLVM_VER= 14 # see the compatibility table https://github.com/numba/llvmlite#compatibility
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/devel/py-llvmlite/distinfo b/devel/py-llvmlite/distinfo
index 2e0a97a64487..1136add970f0 100644
--- a/devel/py-llvmlite/distinfo
+++ b/devel/py-llvmlite/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1663429323
-SHA256 (llvmlite-0.39.1.tar.gz) = b43abd7c82e805261c425d50335be9a6c4f84264e34d6d6e475207300005d572
-SIZE (llvmlite-0.39.1.tar.gz) = 132819
+TIMESTAMP = 1700436592
+SHA256 (llvmlite-0.41.1.tar.gz) = f19f767a018e6ec89608e1f6b13348fa2fcde657151137cb64e56d48598a92db
+SIZE (llvmlite-0.41.1.tar.gz) = 146564
diff --git a/devel/py-llvmlite/files/patch-ffi-Makefile.freebsd b/devel/py-llvmlite/files/patch-ffi-Makefile.freebsd
index abd443e4a286..85458df67478 100644
--- a/devel/py-llvmlite/files/patch-ffi-Makefile.freebsd
+++ b/devel/py-llvmlite/files/patch-ffi-Makefile.freebsd
@@ -1,9 +1,9 @@
---- ffi/Makefile.freebsd.orig 2022-09-01 13:47:22 UTC
+--- ffi/Makefile.freebsd.orig 2023-10-17 13:15:45 UTC
+++ ffi/Makefile.freebsd
-@@ -1,17 +1,17 @@
+@@ -1,12 +1,12 @@
--CXX = clang++ -std=c++11 -stdlib=libc++
-+CXX ?= clang++ -std=c++11 -stdlib=libc++
+-CXX = clang++ -stdlib=libc++
++CXX ?= clang++ -stdlib=libc++
# -flto and --exclude-libs allow us to remove those parts of LLVM we don't use
CXX_FLTO_FLAGS ?= -flto
@@ -16,9 +16,3 @@
LIBS = $(LLVM_LIBS)
INCLUDE = core.h
SRC = assembly.cpp bitcode.cpp core.cpp initfini.cpp module.cpp value.cpp \
- executionengine.cpp transforms.cpp passmanagers.cpp targets.cpp dylib.cpp \
-- linker.cpp object_file.cpp
-+ linker.cpp object_file.cpp custom_passes.cpp
- OUTPUT = libllvmlite.so
-
- all: $(OUTPUT)