Comments (4)
I support this.
One thing that hasn't been mentioned (unless I've missed it) as a potential advantage of the CMake-only approach going forward is the potential for the CMake build system to be restructured in a way that makes CBMC easier to integrate with the build system of another application.
I don't think that's a use-case we support right now, not out of the box at least, but that's something we could look into if we're released from the burden of needing to maintain some symmetry between the two different build systems.
from cbmc.
The dual build system was a technical "fix" to a social issue. One vocal developer insisted they could not use their favourite IDE without CMake. The solution to this was to add CMake files for those that wanted them. Some developers prefer CMake, some prefer Make. Having one build system would be technically simpler but would result in upsetting some people. This is not a purely technical issue.
from cbmc.
- If we go for CMake-only, then we should first make CMake-based builds support all features that the Makefile-based build has. From the top of my head the shortcomings of CMake-based builds are:
a. No means to perform a full cleanup (out-of-tree doesn't currently apply to regression tests).
b. The support for solvers isn't quite as complete.
c. Doing offline builds is not as straightforward (cf. #6582), which in turn makes Makefile-based builds my preferred option for all packaging work that I do, even though I use CMake-based builds in day-to-day development.
c. There might still be tests that are only run in Makefile-based builds (to be confirmed). - CMake adds another dependency, and there are substantial differences between CMake versions. We'd need to be rather conservative in requiring newer CMake versions for they might not actually be available.
- I agree with @martin-cs that there are social aspects: why make people learn something new when they have a something that worked for them for many years?
from cbmc.
I am going to close out this issue as out-of-scope for the version 6 release. Feel free to re-open if you wish to push this forward yourself.
from cbmc.
Related Issues (20)
- Unwind Issue: How to make a loop inductive? HOT 49
- aarch64: error: incompatible type for argument 1 of '__CPROVER_OBJECT_SIZE HOT 1
- goto-cc 6.0.0 fails compilation of s2n-tls unit on Linux, but works on macOS HOT 10
- Simple error message if --smt2 set and no Z3 on PATH HOT 1
- Non-termination of CBMC on use of size_t as type of a quantified variable HOT 14
- Simple modular reasoning example with contracts fails HOT 9
- List of C/C++ Compiler Support HOT 1
- centos compile cbmc 6.0.1 failed HOT 6
- Model loop invariant with __CPROVER_loop_entry and __CPROVER_loop_old HOT 4
- Multiplication of complex number is modelled incorrectly HOT 1
- Bitwuzla reports error on simple function verification HOT 1
- Run CBMC regression tests with Bitwuzla HOT 1
- Big performance regression of cbmc --cover in 6.0.1 HOT 7
- goto-instrument for k-induction fails invariant check on SV-COMP style single loop reachability problem
- [QUESTION] The Function of CBMC HOT 1
- Better side-effect checks for loop contracts
- Mal-formed SMT2 generated for Bitwuzla HOT 2
- Conflicting solver selection should make CBMC fail
- Symbol Table Error When Using "--race-check" in goto-instrument with CBMC for Global Array
- [QUESTION] Variables for Control Flow Trace Debugging
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cbmc.