Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cvise for openSUSE:Factory checked 
in at 2023-03-30 22:51:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cvise (Old)
 and      /work/SRC/openSUSE:Factory/.cvise.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cvise"

Thu Mar 30 22:51:39 2023 rev:70 rq:1075526 version:2.7.0+git.20230330.8b25bd7

Changes:
--------
--- /work/SRC/openSUSE:Factory/cvise/cvise.changes      2023-03-22 
22:32:23.570721808 +0100
+++ /work/SRC/openSUSE:Factory/.cvise.new.31432/cvise.changes   2023-03-30 
22:51:41.712712277 +0200
@@ -1,0 +2,7 @@
+Thu Mar 30 09:46:42 UTC 2023 - mli...@suse.cz
+
+- Update to version 2.7.0+git.20230330.8b25bd7:
+  * Add max-transforms for passes.
+  * Add CI tester for LLVM 16.
+
+-------------------------------------------------------------------

Old:
----
  cvise-2.7.0+git.20230322.994dbe2.tar.xz

New:
----
  cvise-2.7.0+git.20230330.8b25bd7.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cvise.spec ++++++
--- /var/tmp/diff_new_pack.mejDCr/_old  2023-03-30 22:51:42.240715103 +0200
+++ /var/tmp/diff_new_pack.mejDCr/_new  2023-03-30 22:51:42.244715125 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           cvise
-Version:        2.7.0+git.20230322.994dbe2
+Version:        2.7.0+git.20230330.8b25bd7
 Release:        0
 Summary:        Super-parallel Python port of the C-Reduce
 License:        BSD-3-Clause

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.mejDCr/_old  2023-03-30 22:51:42.312715489 +0200
+++ /var/tmp/diff_new_pack.mejDCr/_new  2023-03-30 22:51:42.316715510 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/marxin/cvise</param>
-              <param 
name="changesrevision">994dbe2bd26e70872cd18e114827dd33b5880adf</param></service></servicedata>
+              <param 
name="changesrevision">8b25bd725316edc5e73c002a083274f9b062c5ad</param></service></servicedata>
 (No newline at EOF)
 

++++++ cvise-2.7.0+git.20230322.994dbe2.tar.xz -> 
cvise-2.7.0+git.20230330.8b25bd7.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.7.0+git.20230322.994dbe2/.github/workflows/build.yml 
new/cvise-2.7.0+git.20230330.8b25bd7/.github/workflows/build.yml
--- old/cvise-2.7.0+git.20230322.994dbe2/.github/workflows/build.yml    
2023-03-22 12:41:40.000000000 +0100
+++ new/cvise-2.7.0+git.20230330.8b25bd7/.github/workflows/build.yml    
2023-03-30 11:44:57.000000000 +0200
@@ -16,21 +16,21 @@
 
     strategy:
       matrix:
-        llvm: [11, 12, 13, 14]
+        llvm: [11, 12, 13, 14, 15, 16]
         build-type: [DEBUG]
         docker: [opensuse/tumbleweed]
         include:
-          - llvm: 15
+          - llvm: 16
             build-type: ASAN
             docker: opensuse/tumbleweed
-          - llvm: 15
+          - llvm: 16
             build-type: UBSAN
             docker: opensuse/tumbleweed
-          - llmv: 15
+          - llmv: 16
             build-type: RelWithDebInfo
             extra-flags: -flto=auto
             docker: opensuse/tumbleweed
-          - llmv: 15
+          - llmv: 16
             build-type: RelWithDebInfo
             docker: opensuse/tumbleweed
             env: CC=clang CXX=clang++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-2.7.0+git.20230322.994dbe2/cvise/cvise.py 
new/cvise-2.7.0+git.20230330.8b25bd7/cvise/cvise.py
--- old/cvise-2.7.0+git.20230322.994dbe2/cvise/cvise.py 2023-03-22 
12:41:40.000000000 +0100
+++ new/cvise-2.7.0+git.20230330.8b25bd7/cvise/cvise.py 2023-03-30 
11:44:57.000000000 +0200
@@ -112,6 +112,7 @@
                     raise CViseError('Unkown pass 
{}'.format(pass_dict['pass']))
 
                 pass_instance = pass_class(pass_dict.get('arg'), 
external_programs)
+                pass_instance.max_transforms = None
                 if str(pass_instance) in removed_passes:
                     continue
 
@@ -120,6 +121,11 @@
                 elif not renaming and 'renaming' in pass_dict and 
pass_dict['renaming']:
                     continue
 
+                try:
+                    pass_instance.max_transforms = 
int(pass_dict['max-transforms'])
+                except KeyError:
+                    pass
+
                 pass_instance.user_clang_delta_std = clang_delta_std
                 pass_instance.clang_delta_preserve_routine = 
clang_delta_preserve_routine
                 pass_group[category].append(pass_instance)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.7.0+git.20230322.994dbe2/cvise/pass_groups/all.json 
new/cvise-2.7.0+git.20230330.8b25bd7/cvise/pass_groups/all.json
--- old/cvise-2.7.0+git.20230322.994dbe2/cvise/pass_groups/all.json     
2023-03-22 12:41:40.000000000 +0100
+++ new/cvise-2.7.0+git.20230330.8b25bd7/cvise/pass_groups/all.json     
2023-03-30 11:44:57.000000000 +0200
@@ -5,7 +5,11 @@
     {"pass": "ifs", "c": true },
     {"pass": "line_markers", "c": true },
     {"pass": "blank"},
-    {"pass": "clangbinarysearch", "arg": "replace-function-def-with-decl", 
"c": true},
+    {"pass": "clangbinarysearch", "arg": "replace-function-def-with-decl", 
"c": true, "max-transforms": 30 },
+    {"pass": "clangbinarysearch", "arg": "remove-unused-function", "c": true, 
"max-transforms": 30 },
+    {"pass": "clangbinarysearch", "arg": "replace-function-def-with-decl", 
"c": true, "max-transforms": 30 },
+    {"pass": "clangbinarysearch", "arg": "remove-unused-function", "c": true, 
"max-transforms": 30 },
+    {"pass": "clangbinarysearch", "arg": "replace-function-def-with-decl", 
"c": true },
     {"pass": "clangbinarysearch", "arg": "remove-unused-function", "c": true },
     {"pass": "lines", "arg": "0"},
     {"pass": "lines", "arg": "1"},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.7.0+git.20230322.994dbe2/cvise/passes/abstract.py 
new/cvise-2.7.0+git.20230330.8b25bd7/cvise/passes/abstract.py
--- old/cvise-2.7.0+git.20230322.994dbe2/cvise/passes/abstract.py       
2023-03-22 12:41:40.000000000 +0100
+++ new/cvise-2.7.0+git.20230330.8b25bd7/cvise/passes/abstract.py       
2023-03-30 11:44:57.000000000 +0200
@@ -75,9 +75,13 @@
 
     def __repr__(self):
         if self.arg is not None:
-            return f'{type(self).__name__}::{self.arg}'
+            name = f'{type(self).__name__}::{self.arg}'
         else:
-            return f'{type(self).__name__}'
+            name = f'{type(self).__name__}'
+
+        if self.max_transforms is not None:
+            name += f' ({self.max_transforms} transforms)'
+        return name
 
     def check_external_program(self, name):
         program = self.external_programs[name]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.7.0+git.20230322.994dbe2/cvise/utils/testing.py 
new/cvise-2.7.0+git.20230330.8b25bd7/cvise/utils/testing.py
--- old/cvise-2.7.0+git.20230322.994dbe2/cvise/utils/testing.py 2023-03-22 
12:41:40.000000000 +0100
+++ new/cvise-2.7.0+git.20230330.8b25bd7/cvise/utils/testing.py 2023-03-30 
11:44:57.000000000 +0200
@@ -546,7 +546,8 @@
                         break
 
                     # skip after N transformations if requested
-                    if self.skip_after_n_transforms and success_count >= 
self.skip_after_n_transforms:
+                    if ((self.skip_after_n_transforms and success_count >= 
self.skip_after_n_transforms)
+                            or (self.current_pass.max_transforms and 
success_count >= self.current_pass.max_transforms)):
                         logging.info(f'skipping after {success_count} 
successful transformations')
                         break
 

Reply via email to