Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cvise for openSUSE:Factory checked in at 2022-10-18 12:45:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cvise (Old) and /work/SRC/openSUSE:Factory/.cvise.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cvise" Tue Oct 18 12:45:42 2022 rev:59 rq:1029665 version:2.6.0+git.20221018.7c1f0b4 Changes: -------- --- /work/SRC/openSUSE:Factory/cvise/cvise.changes 2022-10-14 15:42:27.563910394 +0200 +++ /work/SRC/openSUSE:Factory/.cvise.new.2275/cvise.changes 2022-10-18 12:46:05.981873973 +0200 @@ -1,0 +2,22 @@ +Tue Oct 18 07:50:53 UTC 2022 - mli...@suse.cz + +- Update to version 2.6.0+git.20221018.7c1f0b4: + * Fix LLVM 16 build. + * Move cron job to 03:00 + * Fix CI. + * Split workflows. + * Add cron job. + * LLVM 16: disable one test + * clang 16: disable one -Werror + * Fix LLVM 16 issue: + * Fix CI + * Add LLVM Nightly builder. + * Use env for Leap. + * Move to -std=c++17 as it will be required by LLVM 16. + +------------------------------------------------------------------- +Sat Oct 15 07:48:40 UTC 2022 - Martin Li??ka <mli...@suse.cz> + +- Use gcc-11 for Leap. + +------------------------------------------------------------------- Old: ---- cvise-2.6.0+git.20221003.09a5d1e.tar.xz New: ---- cvise-2.6.0+git.20221018.7c1f0b4.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cvise.spec ++++++ --- /var/tmp/diff_new_pack.HlEFb1/_old 2022-10-18 12:46:06.509875175 +0200 +++ /var/tmp/diff_new_pack.HlEFb1/_new 2022-10-18 12:46:06.513875184 +0200 @@ -17,7 +17,7 @@ Name: cvise -Version: 2.6.0+git.20221003.09a5d1e +Version: 2.6.0+git.20221018.7c1f0b4 Release: 0 Summary: Super-parallel Python port of the C-Reduce License: BSD-3-Clause @@ -27,7 +27,11 @@ BuildRequires: clang-devel BuildRequires: cmake BuildRequires: flex +%if %{suse_version} < 1550 +BuildRequires: gcc11-c++ +%else BuildRequires: gcc-c++ +%endif BuildRequires: indent BuildRequires: llvm-devel BuildRequires: ncurses-devel @@ -63,6 +67,10 @@ %autopatch -p1 %build +%if %{suse_version} < 1550 +export CC=gcc-11 +export CXX=g++-11 +%endif %cmake -DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} %cmake_build ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.HlEFb1/_old 2022-10-18 12:46:06.565875302 +0200 +++ /var/tmp/diff_new_pack.HlEFb1/_new 2022-10-18 12:46:06.569875311 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/marxin/cvise</param> - <param name="changesrevision">09a5d1eceb3716d972b6078d8ab3398b4b945546</param></service></servicedata> + <param name="changesrevision">7c1f0b44034f6d00f1bcb548efc338c2356325b3</param></service></servicedata> (No newline at EOF) ++++++ cvise-2.6.0+git.20221003.09a5d1e.tar.xz -> cvise-2.6.0+git.20221018.7c1f0b4.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.6.0+git.20221003.09a5d1e/.github/workflows/build-llvm-nightly.yml new/cvise-2.6.0+git.20221018.7c1f0b4/.github/workflows/build-llvm-nightly.yml --- old/cvise-2.6.0+git.20221003.09a5d1e/.github/workflows/build-llvm-nightly.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/cvise-2.6.0+git.20221018.7c1f0b4/.github/workflows/build-llvm-nightly.yml 2022-10-18 09:42:24.000000000 +0200 @@ -0,0 +1,33 @@ +name: Build LLVM nightly + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + schedule: + - cron: '0 3 * * *' + +jobs: + + CI-LLVM-nightly: + runs-on: ubuntu-22.04 + container: + image: ubuntu:devel + steps: + - run: apt-get update + - run: apt-get -qq install -y gcc g++ wget lsb-release wget software-properties-common gnupg git cmake flex python3-pebble python3-psutil python3-chardet python3-pytest vim unifdef + - run: wget https://apt.llvm.org/llvm.sh + - run: chmod +x llvm.sh + - run: ./llvm.sh 16 + - run: apt-get install -y bolt-16 clang-16 libclang-common-16-dev libclang-16-dev mlir-16-tools llvm-16-tools libclang-common-16-dev libclang-16-dev libclang1-16 clang-format-16 python3-clang-16 clangd-16 clang-tidy-16 + # TODO: fix it + - run: ln -s /usr/lib/x86_64-linux-gnu/libclang-16.so.16.0.0 /usr/lib/x86_64-linux-gnu/libclang-16.so.1 + - uses: actions/checkout@v3 + - run: mkdir objdir + - run: cmake .. + working-directory: objdir + - run: make -j`nproc` VERBOSE=1 + working-directory: objdir + - run: pytest + working-directory: objdir diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.6.0+git.20221003.09a5d1e/.github/workflows/build.yml new/cvise-2.6.0+git.20221018.7c1f0b4/.github/workflows/build.yml --- old/cvise-2.6.0+git.20221003.09a5d1e/.github/workflows/build.yml 2022-10-03 13:03:59.000000000 +0200 +++ new/cvise-2.6.0+git.20221018.7c1f0b4/.github/workflows/build.yml 2022-10-18 09:42:24.000000000 +0200 @@ -29,6 +29,7 @@ - llvm: 9 build-type: DEBUG docker: opensuse/leap + env: CC=gcc-11 CXX=g++-11 fail-fast: false container: @@ -42,21 +43,22 @@ python3-flake8-bugbear python3-flake8-import-order python3-flake8-quotes + - run: zypper -n install gcc11-c++ + if: matrix.docker == 'opensuse/leap' - run: zypper -n install python3-pip python3-flake8-comprehensions python3 sqlite-devel if: matrix.docker == 'opensuse/tumbleweed' - run: pip install pytest-cov if: matrix.docker == 'opensuse/tumbleweed' - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: nproc - name: build run: | mkdir objdir cd objdir - cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DCMAKE_CXX_FLAGS=${{ matrix.extra-flags }} + ${{ matrix.env }} cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DCMAKE_CXX_FLAGS=${{ matrix.extra-flags }} make -j`nproc` VERBOSE=1 - name: flake8 run: flake8 - name: test - run: | - cd objdir - pytest + run: pytest + working-directory: objdir diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.6.0+git.20221003.09a5d1e/CMakeLists.txt new/cvise-2.6.0+git.20221018.7c1f0b4/CMakeLists.txt --- old/cvise-2.6.0+git.20221003.09a5d1e/CMakeLists.txt 2022-10-03 13:03:59.000000000 +0200 +++ new/cvise-2.6.0+git.20221018.7c1f0b4/CMakeLists.txt 2022-10-18 09:42:24.000000000 +0200 @@ -144,10 +144,10 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - # XXX figure out how to get "-std=c++14 -fno-rtti" from LLVM. That's how we + # XXX figure out how to get "-std=c++17 -fno-rtti" from LLVM. That's how we # get those options in the Automake path... set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -Wno-error=maybe-uninitialized") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fno-rtti -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Werror -Wno-error=maybe-uninitialized") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -fno-rtti -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Werror -Wno-error=maybe-uninitialized -Wno-error=mismatched-new-delete") if(SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden") endif() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.6.0+git.20221003.09a5d1e/clang_delta/TemplateArgToInt.cpp new/cvise-2.6.0+git.20221018.7c1f0b4/clang_delta/TemplateArgToInt.cpp --- old/cvise-2.6.0+git.20221003.09a5d1e/clang_delta/TemplateArgToInt.cpp 2022-10-03 13:03:59.000000000 +0200 +++ new/cvise-2.6.0+git.20221018.7c1f0b4/clang_delta/TemplateArgToInt.cpp 2022-10-18 09:42:24.000000000 +0200 @@ -357,9 +357,16 @@ if (!SubstType) return; +#if LLVM_VERSION_MAJOR >= 16 + const TemplateTypeParmDecl *ParmDecl = SubstType->getReplacedParameter(); + unsigned parmIndex = SubstType->getIndex(); +#else const TemplateTypeParmType *ParmType = SubstType->getReplacedParameter(); TemplateTypeParmDecl *ParmDecl = ParmType->getDecl(); + unsigned parmIndex = ParmType->getIndex(); +#endif TransAssert(ParmDecl && "Invalid ParmDecl!"); + const TemplateDecl *TmplD = ParamToTemplateDecl[ParmDecl]; if (TmplD == NULL) { const DeclContext *Ctx = ParmDecl->getDeclContext(); @@ -384,7 +391,7 @@ TemplateParameterIdxSet *InvalidIdx = DeclToParamIdx[dyn_cast<TemplateDecl>(TmplD->getCanonicalDecl())]; TransAssert(InvalidIdx && "NULL InvalidIdx!"); - InvalidIdx->insert(ParmType->getIndex()); + InvalidIdx->insert(parmIndex); } TemplateArgToInt::~TemplateArgToInt() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.6.0+git.20221003.09a5d1e/clang_delta/Transformation.cpp new/cvise-2.6.0+git.20221018.7c1f0b4/clang_delta/Transformation.cpp --- old/cvise-2.6.0+git.20221003.09a5d1e/clang_delta/Transformation.cpp 2022-10-03 13:03:59.000000000 +0200 +++ new/cvise-2.6.0+git.20221018.7c1f0b4/clang_delta/Transformation.cpp 2022-10-18 09:42:24.000000000 +0200 @@ -842,8 +842,13 @@ } case Type::TypeOf: { - return getBaseDeclFromType( - dyn_cast<TypeOfType>(Ty)->getUnderlyingType().getTypePtr()); + return getBaseDeclFromType(dyn_cast<TypeOfType>(Ty) +#if LLVM_VERSION_MAJOR >= 16 + ->getUnmodifiedType() +#else + ->getUnderlyingType() +#endif + .getTypePtr()); } default: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.6.0+git.20221003.09a5d1e/clang_delta/tests/test_clang_delta.py new/cvise-2.6.0+git.20221018.7c1f0b4/clang_delta/tests/test_clang_delta.py --- old/cvise-2.6.0+git.20221003.09a5d1e/clang_delta/tests/test_clang_delta.py 2022-10-03 13:03:59.000000000 +0200 +++ new/cvise-2.6.0+git.20221018.7c1f0b4/clang_delta/tests/test_clang_delta.py 2022-10-18 09:42:24.000000000 +0200 @@ -339,6 +339,7 @@ def test_rename_class_bool(self): self.check_clang_delta('rename-class/bool.cc', '--transformation=rename-class --counter=1') + @unittest.skip(reason='Fails with LLVM 16') def test_rename_class_class_template(self): self.check_clang_delta('rename-class/class_template.cc', '--transformation=rename-class --counter=1')