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: updated to 0.27.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4bdee458966d
branches:  trunk
changeset: 389479:4bdee458966d
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 02 15:42:17 2019 +0000

description:
py-llvmlite: updated to 0.27.0

v0.27.0

This release updates llvmlite to LLVM 7. Note that LLVM 7.0.0 contains a critical bug that is resolved with a patch included in the llvmdev conda package recipe. The final release of LLVM 7.0.1 may 
also resolve the issue.

Add another thread for RPi builds.
llvm lld integration
Build LLD as part of the llvmdev package
Set up CI with Azure Pipelines
LLVM 7 support

diffstat:

 devel/py-llvmlite/Makefile                                      |   4 +-
 devel/py-llvmlite/distinfo                                      |  13 ++++-----
 devel/py-llvmlite/patches/patch-ffi_build.py                    |  12 +-------
 devel/py-llvmlite/patches/patch-llvmlite_tests_test__binding.py |  14 ----------
 4 files changed, 9 insertions(+), 34 deletions(-)

diffs (72 lines):

diff -r e5b9e8ea21ab -r 4bdee458966d devel/py-llvmlite/Makefile
--- a/devel/py-llvmlite/Makefile        Wed Jan 02 15:41:13 2019 +0000
+++ b/devel/py-llvmlite/Makefile        Wed Jan 02 15:42:17 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2018/12/09 20:22:55 adam Exp $
+# $NetBSD: Makefile,v 1.7 2019/01/02 15:42:17 adam Exp $
 
-DISTNAME=      llvmlite-0.26.0
+DISTNAME=      llvmlite-0.27.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/llvmlite/}
diff -r e5b9e8ea21ab -r 4bdee458966d devel/py-llvmlite/distinfo
--- a/devel/py-llvmlite/distinfo        Wed Jan 02 15:41:13 2019 +0000
+++ b/devel/py-llvmlite/distinfo        Wed Jan 02 15:42:17 2019 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.5 2018/12/09 20:22:55 adam Exp $
+$NetBSD: distinfo,v 1.6 2019/01/02 15:42:17 adam Exp $
 
-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
+SHA1 (llvmlite-0.27.0.tar.gz) = d2a74487f60a0641e51a1827234dc8f5935131bf
+RMD160 (llvmlite-0.27.0.tar.gz) = 976736a885118cec0fe3f93909ad2582d6bb699b
+SHA512 (llvmlite-0.27.0.tar.gz) = 973adba81c761b4a2cf100851aa46be4425056998fa02291476876da8a23675e278d1e665f386c8f519baa2539dc7825e7464eef609da1b8c45b897947f5b949
+Size (llvmlite-0.27.0.tar.gz) = 103752 bytes
+SHA1 (patch-ffi_build.py) = a3241ffc7f208b709053fb04a5225290363ba284
diff -r e5b9e8ea21ab -r 4bdee458966d devel/py-llvmlite/patches/patch-ffi_build.py
--- a/devel/py-llvmlite/patches/patch-ffi_build.py      Wed Jan 02 15:41:13 2019 +0000
+++ b/devel/py-llvmlite/patches/patch-ffi_build.py      Wed Jan 02 15:42:17 2019 +0000
@@ -1,19 +1,9 @@
-$NetBSD: patch-ffi_build.py,v 1.3 2018/12/09 20:22:55 adam Exp $
+$NetBSD: patch-ffi_build.py,v 1.4 2019/01/02 15:42:17 adam Exp $
 
-Allow newer LLVM.
 Add NetBSD support.
 
 --- ffi/build.py.orig  2018-07-10 14:46:02.000000000 +0000
 +++ ffi/build.py
-@@ -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')):
diff -r e5b9e8ea21ab -r 4bdee458966d devel/py-llvmlite/patches/patch-llvmlite_tests_test__binding.py
--- a/devel/py-llvmlite/patches/patch-llvmlite_tests_test__binding.py   Wed Jan 02 15:41:13 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$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