Hello community,
here is the log from the commit of package python-llvmlite for openSUSE:Factory checked in at 2019-02-14 14:35:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-llvmlite (Old)
and /work/SRC/openSUSE:Factory/.python-llvmlite.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-llvmlite"
Thu Feb 14 14:35:54 2019 rev:10 rq:674714 version:0.27.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-llvmlite/python-llvmlite.changes 2018-12-03 10:12:34.759587440 +0100
+++ /work/SRC/openSUSE:Factory/.python-llvmlite.new.28833/python-llvmlite.changes 2019-02-14 14:36:13.991574462 +0100
@@ -1,0 +2,10 @@
+Wed Feb 13 18:56:34 UTC 2019 - Todd R
+
+- update to version 0.27.0
+ * PR #434: Add another thread for RPi builds.
+ * PR #430: llvm lld integration, merge #428
+ * PR #428: Build LLD as part of the llvmdev package
+ * PR #413: Set up CI with Azure Pipelines
+ * PR #412: LLVM 7 support
+
+-------------------------------------------------------------------
Old:
----
llvmlite-0.26.0.tar.gz
New:
----
llvmlite-0.27.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-llvmlite.spec ++++++
--- /var/tmp/diff_new_pack.43yl31/_old 2019-02-14 14:36:14.743574123 +0100
+++ /var/tmp/diff_new_pack.43yl31/_new 2019-02-14 14:36:14.743574123 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-llvmlite
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define llvm_major 7
Name: python-llvmlite
-Version: 0.26.0
+Version: 0.27.0
Release: 0
Summary: Lightweight wrapper around basic LLVM functionality
License: BSD-2-Clause
@@ -27,13 +28,13 @@
Source: https://files.pythonhosted.org/packages/source/l/llvmlite/llvmlite-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
-BuildRequires: clang6-devel
+BuildRequires: clang%{llvm_major}-devel
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: glibc-devel
-BuildRequires: llvm6-LTO-devel
-BuildRequires: llvm6-devel
-BuildRequires: llvm6-gold
+BuildRequires: llvm%{llvm_major}-LTO-devel
+BuildRequires: llvm%{llvm_major}-devel
+BuildRequires: llvm%{llvm_major}-gold
BuildRequires: ncurses-devel
BuildRequires: python-rpm-macros
BuildRequires: python2-enum34
++++++ llvmlite-0.26.0.tar.gz -> llvmlite-0.27.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/llvmlite-0.26.0/PKG-INFO new/llvmlite-0.27.0/PKG-INFO
--- old/llvmlite-0.26.0/PKG-INFO 2018-11-28 15:59:12.000000000 +0100
+++ new/llvmlite-0.27.0/PKG-INFO 2018-12-31 20:18:09.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: llvmlite
-Version: 0.26.0
+Version: 0.27.0
Summary: lightweight wrapper around basic LLVM functionality
Home-page: http://llvmlite.pydata.org
Author: Continuum Analytics, Inc.
@@ -79,7 +79,8 @@
================= ========================
llvmlite versions compatible LLVM versions
================= ========================
- 0.23.0 - ... 6.0.x
+ 0.27.0 - ... 7.0.x
+ 0.23.0 - 0.26.0 6.0.x
0.21.0 - 0.22.0 5.0.x
0.17.0 - 0.20.0 4.0.x
0.16.0 - 0.17.0 3.9.x
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/llvmlite-0.26.0/README.rst new/llvmlite-0.27.0/README.rst
--- old/llvmlite-0.26.0/README.rst 2018-11-28 15:58:46.000000000 +0100
+++ new/llvmlite-0.27.0/README.rst 2018-12-31 20:17:07.000000000 +0100
@@ -70,7 +70,8 @@
================= ========================
llvmlite versions compatible LLVM versions
================= ========================
-0.23.0 - ... 6.0.x
+0.27.0 - ... 7.0.x
+0.23.0 - 0.26.0 6.0.x
0.21.0 - 0.22.0 5.0.x
0.17.0 - 0.20.0 4.0.x
0.16.0 - 0.17.0 3.9.x
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/llvmlite-0.26.0/ffi/CMakeLists.txt new/llvmlite-0.27.0/ffi/CMakeLists.txt
--- old/llvmlite-0.26.0/ffi/CMakeLists.txt 2018-11-28 15:58:46.000000000 +0100
+++ new/llvmlite-0.27.0/ffi/CMakeLists.txt 2018-12-31 20:17:07.000000000 +0100
@@ -22,7 +22,7 @@
# Look for SVML
set(CMAKE_REQUIRED_INCLUDES ${LLVM_INCLUDE_DIRS})
-CHECK_INCLUDE_FILES("llvm/IR/SVML.gen" HAVE_SVML)
+CHECK_INCLUDE_FILES("llvm/IR/SVML.inc" HAVE_SVML)
if(HAVE_SVML)
message(STATUS "SVML found")
add_definitions(-DHAVE_SVML)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/llvmlite-0.26.0/ffi/build.py new/llvmlite-0.27.0/ffi/build.py
--- old/llvmlite-0.26.0/ffi/build.py 2018-11-28 15:58:46.000000000 +0100
+++ new/llvmlite-0.27.0/ffi/build.py 2018-12-31 20:17:07.000000000 +0100
@@ -109,9 +109,9 @@
out = out.decode('latin1')
print(out)
- if not out.startswith('6.0.'):
+ if not out.startswith('7.0.'):
msg = (
- "Building llvmlite requires LLVM 6.0.x. Be sure to "
+ "Building llvmlite requires LLVM 7.0.x. Be sure to "
"set LLVM_CONFIG to the right executable path.\n"
"Read the documentation at http://llvmlite.pydata.org/ for more "
"information about building llvmlite.\n"
@@ -130,7 +130,7 @@
# look for SVML
include_dir = run_llvm_config(llvm_config, ['--includedir']).strip()
- svml_indicator = os.path.join(include_dir, 'llvm', 'IR', 'SVML.gen')
+ svml_indicator = os.path.join(include_dir, 'llvm', 'IR', 'SVML.inc')
if os.path.isfile(svml_indicator):
cxxflags = cxxflags + ['-DHAVE_SVML']
print('SVML detected')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/llvmlite-0.26.0/llvmlite/_version.py new/llvmlite-0.27.0/llvmlite/_version.py
--- old/llvmlite-0.26.0/llvmlite/_version.py 2018-11-28 15:59:12.000000000 +0100
+++ new/llvmlite-0.27.0/llvmlite/_version.py 2018-12-31 20:18:09.000000000 +0100
@@ -4,8 +4,8 @@
# unpacked source archive. Distribution tarballs contain a pre-generated copy
# of this file.
-version_version = '0.26.0'
-version_full = 'f63f7b0b67bfc159a9cc4e6a9728c67f8c690825'
+version_version = '0.27.0'
+version_full = '894a1ddab60091869424f697cc56ecfee8156e31'
def get_versions(default={}, verbose=False):
return {'version': version_version, 'full': version_full}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/llvmlite-0.26.0/llvmlite/tests/test_binding.py new/llvmlite-0.27.0/llvmlite/tests/test_binding.py
--- old/llvmlite-0.26.0/llvmlite/tests/test_binding.py 2018-11-28 15:58:46.000000000 +0100
+++ new/llvmlite-0.27.0/llvmlite/tests/test_binding.py 2018-12-31 20:17:07.000000000 +0100
@@ -333,7 +333,7 @@
def test_version(self):
major, minor, patch = llvm.llvm_version_info
- self.assertEqual((major, minor), (6, 0))
+ self.assertEqual((major, minor), (7, 0))
self.assertIn(patch, range(10))
def test_check_jit_execution(self):
@@ -1061,9 +1061,29 @@
orig_asm = str(mod)
pm.run(mod)
opt_asm = str(mod)
- # Quick check that optimizations were run
- self.assertIn("%.3", orig_asm)
- self.assertNotIn("%.3", opt_asm)
+ # Quick check that optimizations were run, should get:
+ # define i32 @sum(i32 %.1, i32 %.2) local_unnamed_addr #0 {
+ # %.X = add i32 %.2, %.1
+ # ret i32 %.X
+ # }
+ # where X in %.X is 3 or 4
+ opt_asm_split = opt_asm.splitlines()
+ for idx, l in enumerate(opt_asm_split):
+ if l.strip().startswith('ret i32'):
+ toks = {'%.3', '%.4'}
+ for t in toks:
+ if t in l:
+ break
+ else:
+ raise RuntimeError("expected tokens not found")
+ add_line = opt_asm_split[idx]
+ othertoken = (toks ^ {t}).pop()
+
+ self.assertIn("%.3", orig_asm)
+ self.assertNotIn(othertoken, opt_asm)
+ break
+ else:
+ raise RuntimeError("expected IR not found")
class TestFunctionPassManager(BaseTest, PassManagerTestMixin):