Skip to content

Commit 07533b0

Browse files
committed
Update PVS on Apple silicon build instructions
1 parent 0060766 commit 07533b0

3 files changed

Lines changed: 33 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
*.log
66
*.el
77
auto
8+
/.DS_Store

ReadMe.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
## Work
44

5-
As a verification architect I
5+
As an aspiring verification architect I'd
66
- devise roadmaps for building trustworthy systems,
77
- re-discover or create verification techniques tailored to these roadmaps,
88
- design and implement tool prototypes to aid in executing roadmaps, and
99
- foster an engineering culture where trustworthiness of the product is a key ingredient.
1010

11-
This often means I do things somewhat differently. If that is the case and the cost/benefit trade-off looks promising, I help with educating engineers how to do things differently, too.
11+
This often means I do things somewhat differently. If that is the case and the cost/benefit trade-off looks promising, I help with educating colleagues how to do things differently, too.
1212

1313

1414
### Pubs
@@ -37,6 +37,8 @@ Most recent work is sequestered in [ARM](https://www.arm.com), [QualComm](https:
3737

3838
### Misc
3939

40+
**News 2026/01/22:** Updated [Build instructions for PVS on ARM Macs](misc/PVS/ARMbuild/).
41+
4042
**News 2023/05/03:** The 2022 iteration of the [ACM Software System Award](https://awards.acm.org/software-system) goes to our team of authors of [seL4: formal verification of an OS kernel](https://doi.org/10.1145/1629575.1629596).
4143

4244
**News 2023/04/03:** [Build instructions for PVS on ARM Macs](misc/PVS/ARMbuild/).

misc/PVS/ARMbuild/ReadMe.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# PVS Build Instructions for ARM-Based Macs
22

3+
## Season 2
4+
5+
Pulled some PVS updates (8.0) via git and attempted to rebuild. That did not work.
6+
7+
### SBCL trouble
8+
9+
Homebrew `sbcl` is broken (`mmap: Operation not permitted`). I do not know for how long that has been the case and whether it's entirely my own botching of my setup.
10+
11+
Either way, I sourced `sbcl-2.4.0-arm64-darwin-binary.tar.bz2` from [SBCL on sourceforge](https://sourceforge.net/projects/sbcl/), unpacked it, and installed it locally (with `INSTALL_ROOT=/Users/kaie/local sh install.sh`).
12+
13+
Building the newer SBCL as per the old instructions would still fail because SBCL's `make-config.sh` calls a naked `sbcl` which would still be the broken homebrewed version. I prefixed my `$PATH` with `/Users/kaie/local/bin`. building then succeeded.
14+
15+
Finally, installed the newly built SBCL locally with
16+
`INSTALL_ROOT=/Users/kaie/opt/sbcl sh install.sh`.
17+
18+
### PVS
19+
20+
Re-building PVS fails as usual with problems in compiling ancient C files. In the meantime both Xcode's and homebrew's llvm updated.
21+
22+
```
23+
$ pushd~ ~/src/PVS
24+
$ cd /opt/homebrew/Cellar/llvm
25+
$ ln -s 21.1.8 17.0.0
26+
$ popd
27+
```
28+
29+
The [patch](0001-Fix-C-errors-for-the-SBCL-based-ARM-Mac-build.patch) still appears to both be necessary and work.
30+
331
## Preparation
432

533
I have Xcode, its command line utilities, [Emacs for Mac OS X](https://emacsformacosx.com/), and [homebrew](https://brew.sh/) installed.

0 commit comments

Comments
 (0)