Architecture Decision Records
|
CBMC archives versions into a tap which you can use to quickly download and build various historical versions.
The tap is available at https://github.com/diffblue/homebrew-cbmc.
Any version installed from the tap will need to be built from source locally.
That instruction is going to clone the above tap repository locally. Afterwards, you can proceed with installing the formulas present, edit them, etc.
If you wish to set up a new tap for any reason, you can use brew tap-new
like the following example:
cd
into the repository. To do that easily, it's best to ask Homebrew to give you the location of the repository:homebrew/core
to the tap with the following instruction:For example $ brew extract cbmc diffblue/cbmc --version=5.54.0
will have as an end result a new file under Formula/cbmc@5.54.0.rb
that will contain the formula that we had submitted for that version of CBMC in the homebrew/core
repository.
with the appropriate version tag. This will open the formula on the default editor in your system to allow you to make changes.
These changes are only going to be reflected locally - but you can cd
to the repository, commit and then push to the tap (this is allowed only for people who have permission to push to the tap - mainly, the Diffblue open source team).
brew tap --new
created two github actions .github/workflows/publish.yml
and .github/workflows/tests.yml
which we are not using at the moment but could serve to make future automation easier.$PATH
and installation directories for binaries.brew link
instruction:Last modified: 2024-11-20 06:00:32 -0800