-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the SAW integration #78
Conversation
1. Update the SAW download to use the latest release instead of an ancient nightly that's no longer available. 2. Skip the downloads of both SAW and Cryptol if IN_SAW_CI is set to "yes". These are motivated by the use of this tree in the SAW CI tests, which has been blowing up, first because we tried to delete the ancient nightlies, then because the website reorg broke the downloads. However, at least point (1) seems to be of general value.
(instead of a long-gone snapshot from saw.galois.com) Needed to unbreak this repository's own CI.
3f1ea27
to
418129e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have much context for the specifics of these proofs, so it's hard for me to tell if it would be straightforward to repair the parts of the proofs that have bitrotted or not. That being said, memory_safety.saw
(the only parts of these proofs that SAW's CI runs) now works, which is an encouraging first step. I propose that we file issues about the other proofs that aren't currently working and then merge this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, other than a couple of small comments.
scripts/install.sh
Outdated
@@ -46,17 +49,21 @@ then | |||
cp deps/yices/*/bin/yices-smt2 bin/yices-smt2 | |||
fi | |||
|
|||
# fetch ABC | |||
# fetch what4_solvers for ABC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"fetch ABC from what4_solvers"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
fi | ||
|
||
# fetch SAW | ||
if [ ! -f bin/saw ] | ||
if [ ! -f bin/saw ] && [ ${IN_SAW_CI:-no} != yes ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my recommendation in the other PR about the env var name CI_TEST_LEVEL
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(and see there for why I didn't here)
Allows fixing up the problems currently seen in the SAW CI. (GaloisInc/saw-script#2166)