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: adam
Date: Sun Dec 9 20:22:56 UTC 2018
Modified Files:
pkgsrc/devel/py-llvmlite: Makefile PLIST distinfo
pkgsrc/devel/py-llvmlite/patches: patch-ffi_build.py
Added Files:
pkgsrc/devel/py-llvmlite/patches: patch-llvmlite_tests_test__binding.py
Removed Files:
pkgsrc/devel/py-llvmlite/patches: patch-ffi_Makefile.netbsd
Log Message:
py-llvmlite: updated to 0.26.0
v0.26.0
The primary new features in this release is support for generation of Intel JIT events, which makes profiling of JIT compiled code in Intel VTune possible. This release also contains some minor build
improvements for ARMv7, and some small fixes.
LLVM 7 support was originally slated for this release, but had to be delayed after some issues arose in testing. LLVM 6 is still required for llvmlite.
* Use native cmake on armv7l
* Throttle thread count for llvm build on armv7l.
* Add shutdown detection to ObjectRef __del__ method.
* conda recipe: add make as build dep
* Add get_element_offset to TargetData
* Fix gep method call on Constant objects
* Fix typo in irbuilder documentation
* Enable IntelJIT events for LLVM for VTune support
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-llvmlite/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-llvmlite/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-llvmlite/distinfo
cvs rdiff -u -r1.1 -r0 \
pkgsrc/devel/py-llvmlite/patches/patch-ffi_Makefile.netbsd
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-llvmlite/patches/patch-ffi_build.py
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/py-llvmlite/patches/patch-llvmlite_tests_test__binding.py
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.5 pkgsrc/devel/py-llvmlite/Makefile:1.6
--- pkgsrc/devel/py-llvmlite/Makefile:1.5 Tue Aug 7 10:46:42 2018
+++ pkgsrc/devel/py-llvmlite/Makefile Sun Dec 9 20:22:55 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2018/08/07 10:46:42 adam Exp $
+# $NetBSD: Makefile,v 1.6 2018/12/09 20:22:55 adam Exp $
-DISTNAME= llvmlite-0.24.0
+DISTNAME= llvmlite-0.26.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=l/llvmlite/}
@@ -13,10 +13,13 @@ LICENSE= 2-clause-bsd
USE_LANGUAGES= c++
.include "../../lang/python/pyversion.mk"
-.if "${PYPKGPREFIX}" == "py27"
+.if ${_PYTHON_VERSION} == 27
DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
.endif
+pre-configure:
+ ${LN} -f ${WRKSRC}/ffi/Makefile.freebsd ${WRKSRC}/ffi/Makefile.netbsd
+
post-install:
.if ${OPSYS} == "Darwin"
install_name_tool -id \
Index: pkgsrc/devel/py-llvmlite/PLIST
diff -u pkgsrc/devel/py-llvmlite/PLIST:1.1 pkgsrc/devel/py-llvmlite/PLIST:1.2
--- pkgsrc/devel/py-llvmlite/PLIST:1.1 Thu May 17 15:47:46 2018
+++ pkgsrc/devel/py-llvmlite/PLIST Sun Dec 9 20:22:55 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2018/05/17 15:47:46 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/12/09 20:22:55 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -19,6 +19,9 @@ ${PYSITELIB}/llvmlite/binding/analysis.p
${PYSITELIB}/llvmlite/binding/common.py
${PYSITELIB}/llvmlite/binding/common.pyc
${PYSITELIB}/llvmlite/binding/common.pyo
+${PYSITELIB}/llvmlite/binding/context.py
+${PYSITELIB}/llvmlite/binding/context.pyc
+${PYSITELIB}/llvmlite/binding/context.pyo
${PYSITELIB}/llvmlite/binding/dylib.py
${PYSITELIB}/llvmlite/binding/dylib.pyc
${PYSITELIB}/llvmlite/binding/dylib.pyo
Index: pkgsrc/devel/py-llvmlite/distinfo
diff -u pkgsrc/devel/py-llvmlite/distinfo:1.4 pkgsrc/devel/py-llvmlite/distinfo:1.5
--- pkgsrc/devel/py-llvmlite/distinfo:1.4 Tue Aug 7 10:46:42 2018
+++ pkgsrc/devel/py-llvmlite/distinfo Sun Dec 9 20:22:55 2018
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2018/08/07 10:46:42 adam Exp $
+$NetBSD: distinfo,v 1.5 2018/12/09 20:22:55 adam Exp $
-SHA1 (llvmlite-0.24.0.tar.gz) = a97f65637575ed9b6963031ed384031a15191d57
-RMD160 (llvmlite-0.24.0.tar.gz) = d28d99da1e8b3a1f26dc7fd872568b88350e90ed
-SHA512 (llvmlite-0.24.0.tar.gz) = 93c5cc6c647aa0d25e9fa4e10b0c7299bbdebe82f4c264c1ea9eb9ad1e1b1c28fcd5fbfe99762be00aa495bac71b6ca487f7ec230b42f81c9a3b1aacf555af23
-Size (llvmlite-0.24.0.tar.gz) = 100833 bytes
-SHA1 (patch-ffi_Makefile.netbsd) = 28a7a3363376e7b4e13a78afea5705b6009ba5f8
-SHA1 (patch-ffi_build.py) = 761df4ddb2cff6f0196e372dbbb3ffe4b811a01c
+SHA1 (llvmlite-0.26.0.tar.gz) = da74db79b19c392253c9a0b80055e215bf0d62c5
+RMD160 (llvmlite-0.26.0.tar.gz) = eb0ccec7d6956ec097fa663a0082ea7a5d269312
+SHA512 (llvmlite-0.26.0.tar.gz) = aa48d2385aea63ab0cf3f75a919574d4f90c1d3665382ea55ba7b7243af1f326fcc4239c60044373e0482d04d088d99d2c428a3559844d7e73e2329ab73e6447
+Size (llvmlite-0.26.0.tar.gz) = 103402 bytes
+SHA1 (patch-ffi_build.py) = 1d3e90c9e1a47a3a7e4964531f70688d48a5c732
+SHA1 (patch-llvmlite_tests_test__binding.py) = 6c493583827c0cafe0aeeadeae1ba74b84af52bd
Index: pkgsrc/devel/py-llvmlite/patches/patch-ffi_build.py
diff -u pkgsrc/devel/py-llvmlite/patches/patch-ffi_build.py:1.2 pkgsrc/devel/py-llvmlite/patches/patch-ffi_build.py:1.3
--- pkgsrc/devel/py-llvmlite/patches/patch-ffi_build.py:1.2 Tue Aug 7 10:46:42 2018
+++ pkgsrc/devel/py-llvmlite/patches/patch-ffi_build.py Sun Dec 9 20:22:55 2018
@@ -1,10 +1,20 @@
-$NetBSD: patch-ffi_build.py,v 1.2 2018/08/07 10:46:42 adam Exp $
+$NetBSD: patch-ffi_build.py,v 1.3 2018/12/09 20:22:55 adam Exp $
-Add NetBSD support
+Allow newer LLVM.
+Add NetBSD support.
--- ffi/build.py.orig 2018-07-10 14:46:02.000000000 +0000
+++ ffi/build.py
-@@ -143,6 +143,8 @@ def main():
+@@ -109,7 +109,7 @@ def main_posix(kind, library_ext):
+
+ out = out.decode('latin1')
+ print(out)
+- if not out.startswith('6.0.'):
++ if False:
+ msg = (
+ "Building llvmlite requires LLVM 6.0.x. Be sure to "
+ "set LLVM_CONFIG to the right executable path.\n"
+@@ -157,6 +157,8 @@ def main():
main_posix('linux', '.so')
elif sys.platform.startswith(('freebsd','openbsd')):
main_posix('freebsd', '.so')
Added files:
Index: pkgsrc/devel/py-llvmlite/patches/patch-llvmlite_tests_test__binding.py
diff -u /dev/null pkgsrc/devel/py-llvmlite/patches/patch-llvmlite_tests_test__binding.py:1.1
--- /dev/null Sun Dec 9 20:22:56 2018
+++ pkgsrc/devel/py-llvmlite/patches/patch-llvmlite_tests_test__binding.py Sun Dec 9 20:22:55 2018
@@ -0,0 +1,14 @@
+$NetBSD: patch-llvmlite_tests_test__binding.py,v 1.1 2018/12/09 20:22:55 adam Exp $
+
+Allow newer LLVM.
+
+--- llvmlite/tests/test_binding.py.orig 2018-11-29 09:48:16.000000000 +0000
++++ llvmlite/tests/test_binding.py
+@@ -333,7 +333,6 @@ class TestMisc(BaseTest):
+
+ def test_version(self):
+ major, minor, patch = llvm.llvm_version_info
+- self.assertEqual((major, minor), (6, 0))
+ self.assertIn(patch, range(10))
+
+ def test_check_jit_execution(self):
Home |
Main Index |
Thread Index |
Old Index