1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
Description: Do not unconditionally invoke cvc5
CVC5 is not available on all architectures.
.
cbmc (5.95.1-1) unstable; urgency=low
.
* New upstream release
Author: Michael Tautschnig <mt@debian.org>
---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2024-02-16
--- cbmc-5.95.1.orig/regression/cbmc-incr-smt2/Makefile
+++ cbmc-5.95.1/regression/cbmc-incr-smt2/Makefile
@@ -9,7 +9,9 @@ test.z3:
@../test.pl -e -p -c "../../../src/cbmc/cbmc --incremental-smt2-solver 'z3 --smt2 -in' --validate-goto-model --validate-ssa-equation"
test.cvc5:
- @../test.pl -e -p -c "../../../src/cbmc/cbmc --incremental-smt2-solver 'cvc5 --lang=smtlib2.6 --incremental' --validate-goto-model --validate-ssa-equation"
+ @if which cvc5 ; then \
+ ../test.pl -e -p -c "../../../src/cbmc/cbmc --incremental-smt2-solver 'cvc5 --lang=smtlib2.6 --incremental' --validate-goto-model --validate-ssa-equation" ; \
+ fi
tests.log: ../test.pl test
--- cbmc-5.95.1.orig/regression/cbmc-output-file/Makefile
+++ cbmc-5.95.1/regression/cbmc-output-file/Makefile
@@ -4,10 +4,14 @@ include ../../src/config.inc
include ../../src/common
test:
- @../test.pl -f -e -p -c '../chain.py ../../../src/cbmc/cbmc'
+ @if which cvc5 ; then \
+ ../test.pl -f -e -p -c '../chain.py ../../../src/cbmc/cbmc' ; \
+ fi
tests.log:
- @../test.pl -f -e -p -c '../chain.py ../../../src/cbmc/cbmc'
+ @if which cvc5 ; then \
+ ../test.pl -f -e -p -c '../chain.py ../../../src/cbmc/cbmc' ; \
+ fi
clean:
$(RM) tests.log
|