pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-llvmlite
Module Name: pkgsrc
Committed By: wiz
Date: Wed Jan 12 21:13:50 UTC 2022
Modified Files:
pkgsrc/devel/py-llvmlite: Makefile PLIST distinfo
Added Files:
pkgsrc/devel/py-llvmlite/patches: patch-ffi_targets.cpp
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/py-llvmlite/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-llvmlite/PLIST
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/py-llvmlite/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-llvmlite/patches/patch-ffi_targets.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-llvmlite/Makefile
diff -u pkgsrc/devel/py-llvmlite/Makefile:1.20 pkgsrc/devel/py-llvmlite/Makefile:1.21
--- pkgsrc/devel/py-llvmlite/Makefile:1.20 Tue Jan 4 20:53:15 2022
+++ pkgsrc/devel/py-llvmlite/Makefile Wed Jan 12 21:13:50 2022
@@ -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 @@ HOMEPAGE= https://llvmlite.readthedocs.i
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
Index: pkgsrc/devel/py-llvmlite/PLIST
diff -u pkgsrc/devel/py-llvmlite/PLIST:1.5 pkgsrc/devel/py-llvmlite/PLIST:1.6
--- pkgsrc/devel/py-llvmlite/PLIST:1.5 Tue May 12 08:08:08 2020
+++ pkgsrc/devel/py-llvmlite/PLIST Wed Jan 12 21:13:50 2022
@@ -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/__main__.pyo
${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_ir.pyo
${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
Index: pkgsrc/devel/py-llvmlite/distinfo
diff -u pkgsrc/devel/py-llvmlite/distinfo:1.18 pkgsrc/devel/py-llvmlite/distinfo:1.19
--- pkgsrc/devel/py-llvmlite/distinfo:1.18 Tue Oct 26 10:18:38 2021
+++ pkgsrc/devel/py-llvmlite/distinfo Wed Jan 12 21:13:50 2022
@@ -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
Added files:
Index: pkgsrc/devel/py-llvmlite/patches/patch-ffi_targets.cpp
diff -u /dev/null pkgsrc/devel/py-llvmlite/patches/patch-ffi_targets.cpp:1.1
--- /dev/null Wed Jan 12 21:13:50 2022
+++ pkgsrc/devel/py-llvmlite/patches/patch-ffi_targets.cpp Wed Jan 12 21:13:50 2022
@@ -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