Hello community,
here is the log from the commit of package python-llvmlite for
openSUSE:Leap:15.2 checked in at 2020-03-09 18:08:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-llvmlite (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-llvmlite.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-llvmlite"
Mon Mar 9 18:08:03 2020 rev:16 rq:776751 version:0.31.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-llvmlite/python-llvmlite.changes
2020-01-15 15:49:55.179476720 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-llvmlite.new.26092/python-llvmlite.changes
2020-03-09 18:08:05.960915689 +0100
@@ -1,0 +2,71 @@
+Sun Jan 5 02:54:55 UTC 2020 - Arun Persaud <[email protected]>
+
+- specfile:
+ * update copyright year
+
+- update to version 0.31.0:
+ * This release switches memset/memcpy to use the 4 argument style as
+ per LLVM 7+ and updates some documentation.
+ * Commits:
+ + PR #485: Revert "Revert "LLVM 7 changed memset intrinsic
+ signature, adjust it""
+ + PR #520: Begin development of 0.31.0
+ + PR #528: Add cttz and ctlz to irbuilder docs.
+ + PR #533: Update deprecation docs with full deprecation of 5 arg
+ memset/memcpy
+ + PR #535: Update docs to not report LLVM 3.8 as latest!
+
+-------------------------------------------------------------------
+Tue Dec 17 17:06:49 CET 2019 - Matej Cepl <[email protected]>
+
+- Revert previous change, numba doesn't support LLVM 9 yet.
+
+-------------------------------------------------------------------
+Thu Oct 31 15:18:38 UTC 2019 - Ismail Dönmez <[email protected]>
+
+- Add support-clang9.patch and apply it for llvm >= 9
+- Bump llvm_major from 8 to 9
+
+-------------------------------------------------------------------
+Sat Oct 19 17:02:55 UTC 2019 - Arun Persaud <[email protected]>
+
+- update to version 0.30.0:
+ This release adds support for half-precision float and
+ schedulesthe deprecation of memset/memcpy accepting 5 arguments
+ (cf. LLVM change).
+ * PR #518: Fix use of -fPIC flag in wheels
+ * PR #513: Remove restriction on sphinx version from Anaconda distro
+ * PR #512: fix for block labels which contain "interesting"
+ characters
+ * PR #511: Deprecate the use of memset/memcpy with alias
+ * PR #510: Add fp16 Intrinsics
+ * PR #509: Add Half-Precision Type
+ * PR #502: Add -fPIC flag for manylinux1 wheel building
+ * PR #491: Fix incorrect hierarchy in the documentation for
+ ir.Constant.
+ * PR #474: Update docs
+ * PR #470: Fix leak on string returning APIs.
+
+-------------------------------------------------------------------
+Wed Jun 19 01:25:56 UTC 2019 - Todd R <[email protected]>
+
+- Package examples
+- Make sure tests use installed version
+
+-------------------------------------------------------------------
+Tue Jun 18 19:45:06 UTC 2019 - Todd R <[email protected]>
+
+- update to version 0.29.0
+ * This release upgrades to LLVM 8.0 for all supported platforms except
PPC64LE.
+ Due to numerous problems with LLVM 8.0 running on PPC64LE,
+ we have decided to use LLVM 7.1, which is more stable on PPC64LE.
+ In addition, non-host LLVM targets, AMDGPU, NVPTX, and WebAssembly, are
enabled
+ and they are available in our `llvmlite` builds.
+ * Revert "LLVM 7 changed memset intrinsic signature, adjust it"
+ * Depend on enum34 using PEP 508 environment markers
+ * Upgrade to llvm8
+ * Support loading from current directory and egg files
+ * Add missing fastmath flags from LLVM 7
+ * LLVM 7 changed memset intrinsic signature, adjust it
+
+-------------------------------------------------------------------
Old:
----
llvmlite-0.28.0.tar.gz
New:
----
llvmlite-0.31.0.tar.gz
support-clang9.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-llvmlite.spec ++++++
--- /var/tmp/diff_new_pack.DBDfPh/_old 2020-03-09 18:08:06.720916778 +0100
+++ /var/tmp/diff_new_pack.DBDfPh/_new 2020-03-09 18:08:06.720916778 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-llvmlite
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,22 @@
%define modname llvmlite
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%ifarch ppc64 ppc64le
%define llvm_major 7
+%else
+%define llvm_major 8
+%endif
+%if 0%{?suse_version} <= 1500
+%define llvm_major 7
+%endif
Name: python-llvmlite
-Version: 0.28.0
+Version: 0.31.0
Release: 0
Summary: Lightweight wrapper around basic LLVM functionality
License: BSD-2-Clause
-Group: Development/Languages/Python
URL: http://llvmlite.pydata.org
-Source:
https://github.com/numba/%{modname}/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
+Source:
https://github.com/numba/llvmlite/archive/v%{version}.tar.gz#/llvmlite-%{version}.tar.gz
+Patch1: support-clang9.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: clang%{llvm_major}-devel
@@ -65,9 +72,13 @@
%prep
%setup -q -n %{modname}-%{version}
+%if %{pkg_vcmp llvm%{llvm_major}-devel >= 9.0}
+%patch1 -p1
+%endif
%build
-export CXX=clang++
+export CXX="clang++ -fPIC"
+export LLVM_CONFIG=%{_bindir}/llvm-config
%python_build
%install
@@ -75,13 +86,18 @@
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
+mkdir tester
+pushd tester
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
-$python runtests.py -v
+rm -rf _build.* build
+$python -m llvmlite.tests -vb
}
+popd
%files %{python_files}
%license LICENSE
%doc README.rst
+%doc examples/
%{python_sitearch}/llvmlite/
%{python_sitearch}/llvmlite-%{version}-*.egg-info
++++++ llvmlite-0.28.0.tar.gz -> llvmlite-0.31.0.tar.gz ++++++
++++ 3592 lines of diff (skipped)
++++++ support-clang9.patch ++++++
Index: llvmlite-0.30.0/ffi/build.py
===================================================================
--- llvmlite-0.30.0.orig/ffi/build.py
+++ llvmlite-0.30.0/ffi/build.py
@@ -109,8 +109,8 @@ def main_posix(kind, library_ext):
out = out.decode('latin1')
print(out)
- if not (out.startswith('8.0.') or out.startswith('7.0.')
- or out.startswith('7.1.')):
+ if not (out.startswith('9.0.') or out.startswith('8.0.')
+ or out.startswith('7.0.') or out.startswith('7.1.')):
msg = (
"Building llvmlite requires LLVM 7.0+ Be sure to "
"set LLVM_CONFIG to the right executable path.\n"
Index: llvmlite-0.30.0/llvmlite/tests/test_binding.py
===================================================================
--- llvmlite-0.30.0.orig/llvmlite/tests/test_binding.py
+++ llvmlite-0.30.0/llvmlite/tests/test_binding.py
@@ -363,7 +363,7 @@ class TestMisc(BaseTest):
def test_version(self):
major, minor, patch = llvm.llvm_version_info
# one of these can be valid
- valid = [(8, 0), (7, 0), (7, 1)]
+ valid = [(9,0), (8, 0), (7, 0), (7, 1)]
self.assertIn((major, minor), valid)
self.assertIn(patch, range(10))
@@ -552,7 +552,7 @@ class TestModuleRef(BaseTest):
with self.assertRaises(RuntimeError) as cm:
llvm.parse_bitcode(b"")
self.assertIn("LLVM bitcode parsing error", str(cm.exception))
- self.assertIn("Invalid bitcode signature", str(cm.exception))
+ self.assertIn("file too small to contain bitcode header",
str(cm.exception))
def test_bitcode_roundtrip(self):
# create a new context to avoid struct renaming