pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-llvmlite py-llvmlite: update to 0.37.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/19da7bf2a836
branches:  trunk
changeset: 371701:19da7bf2a836
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 12 21:13:50 2022 +0000

description:
py-llvmlite: update to 0.37.0.

Changes not found.

pkgsrc change:
Add minimal patch to make this build with llvm 13 from an upstream
pull request. Remove BROKEN.

diffstat:

 devel/py-llvmlite/Makefile                      |   8 +++-----
 devel/py-llvmlite/PLIST                         |   8 +++++++-
 devel/py-llvmlite/distinfo                      |   9 +++++----
 devel/py-llvmlite/patches/patch-ffi_targets.cpp |  17 +++++++++++++++++
 4 files changed, 32 insertions(+), 10 deletions(-)

diffs (92 lines):

diff -r 7ec8c2042716 -r 19da7bf2a836 devel/py-llvmlite/Makefile
--- a/devel/py-llvmlite/Makefile        Wed Jan 12 16:25:42 2022 +0000
+++ b/devel/py-llvmlite/Makefile        Wed Jan 12 21:13:50 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2022/01/04 20:53:15 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2022/01/12 21:13:50 wiz Exp $
 
-DISTNAME=      llvmlite-0.36.0
+DISTNAME=      llvmlite-0.37.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/llvmlite/}
 
@@ -11,9 +10,8 @@
 COMMENT=       Lightweight LLVM Python binding for writing JIT compilers
 LICENSE=       2-clause-bsd
 
-BROKEN=                "Does not compile with LLVM 12"
-
 USE_LANGUAGES= c++14
+# officially supports llvm 11 as of 0.37.0
 MAKE_ENV+=     LLVMLITE_SKIP_LLVM_VERSION_CHECK=1
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
diff -r 7ec8c2042716 -r 19da7bf2a836 devel/py-llvmlite/PLIST
--- a/devel/py-llvmlite/PLIST   Wed Jan 12 16:25:42 2022 +0000
+++ b/devel/py-llvmlite/PLIST   Wed Jan 12 21:13:50 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2020/05/12 08:08:08 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2022/01/12 21:13:50 wiz Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -103,6 +103,9 @@
 ${PYSITELIB}/llvmlite/tests/customize.py
 ${PYSITELIB}/llvmlite/tests/customize.pyc
 ${PYSITELIB}/llvmlite/tests/customize.pyo
+${PYSITELIB}/llvmlite/tests/refprune_proto.py
+${PYSITELIB}/llvmlite/tests/refprune_proto.pyc
+${PYSITELIB}/llvmlite/tests/refprune_proto.pyo
 ${PYSITELIB}/llvmlite/tests/test_binding.py
 ${PYSITELIB}/llvmlite/tests/test_binding.pyc
 ${PYSITELIB}/llvmlite/tests/test_binding.pyo
@@ -112,6 +115,9 @@
 ${PYSITELIB}/llvmlite/tests/test_llvmpy.py
 ${PYSITELIB}/llvmlite/tests/test_llvmpy.pyc
 ${PYSITELIB}/llvmlite/tests/test_llvmpy.pyo
+${PYSITELIB}/llvmlite/tests/test_refprune.py
+${PYSITELIB}/llvmlite/tests/test_refprune.pyc
+${PYSITELIB}/llvmlite/tests/test_refprune.pyo
 ${PYSITELIB}/llvmlite/tests/test_valuerepr.py
 ${PYSITELIB}/llvmlite/tests/test_valuerepr.pyc
 ${PYSITELIB}/llvmlite/tests/test_valuerepr.pyo
diff -r 7ec8c2042716 -r 19da7bf2a836 devel/py-llvmlite/distinfo
--- a/devel/py-llvmlite/distinfo        Wed Jan 12 16:25:42 2022 +0000
+++ b/devel/py-llvmlite/distinfo        Wed Jan 12 21:13:50 2022 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.18 2021/10/26 10:18:38 nia Exp $
+$NetBSD: distinfo,v 1.19 2022/01/12 21:13:50 wiz Exp $
 
-BLAKE2s (llvmlite-0.36.0.tar.gz) = 4f889164b1b466c230145a2d0902189b3fad7eb960b8faf3e28366f568e0ac02
-SHA512 (llvmlite-0.36.0.tar.gz) = 2fed7347227f02f34bfbdc172e2e27a9074a4f8fe8b91b46241e4d5c7892e44dd69867297442e5705e0fa94f72c2c0f508fd7bb04ff748c618f28aec08f333bf
-Size (llvmlite-0.36.0.tar.gz) = 126219 bytes
+BLAKE2s (llvmlite-0.37.0.tar.gz) = 6537a042a21cc5a31547c0ce08f1e381df8079a3388fca49161c196623ccf6f7
+SHA512 (llvmlite-0.37.0.tar.gz) = 4a0d206b31aa7235f80c3879e98c08a20d68bfad077a4b02a80294de8b724895bae9764648d7892255afe2e3435eace8e42bdb901fe27eb3d0c988620d42b2ec
+Size (llvmlite-0.37.0.tar.gz) = 125955 bytes
 SHA1 (patch-ffi_Makefile.freebsd) = c4624de19e08bab70668a62a62e9edece027cb93
 SHA1 (patch-ffi_Makefile.linux) = 64fe000e738b61f0ece5c3b6cb86a1d548955c70
 SHA1 (patch-ffi_build.py) = 9a992dd33f624055d5c8bea3986c4243c87b4ccf
+SHA1 (patch-ffi_targets.cpp) = fd7c66d73668dbd5d5d1a20d209e0b3a19d2bb3d
diff -r 7ec8c2042716 -r 19da7bf2a836 devel/py-llvmlite/patches/patch-ffi_targets.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-llvmlite/patches/patch-ffi_targets.cpp   Wed Jan 12 21:13:50 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ffi_targets.cpp,v 1.1 2022/01/12 21:13:50 wiz Exp $
+
+Stopgap fix for llvm-12+
+https://github.com/numba/llvmlite/pull/802/files
+
+--- ffi/targets.cpp.orig       2021-08-20 18:17:31.365363100 +0000
++++ ffi/targets.cpp
+@@ -232,7 +232,9 @@ LLVMPY_CreateTargetMachine(LLVMTargetRef
+         rm = Reloc::DynamicNoPIC;
+ 
+     TargetOptions opt;
++#if LLVM_VERSION_MAJOR < 12
+     opt.PrintMachineCode = PrintMC;
++#endif
+ 
+     bool jit = JIT;
+ 



Home | Main Index | Thread Index | Old Index