Skip to content
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

Merged
merged 3 commits into from
Jan 28, 2025
Merged

Update the SAW integration #78

merged 3 commits into from
Jan 28, 2025

Conversation

sauclovian-g
Copy link
Contributor

Allows fixing up the problems currently seen in the SAW CI. (GaloisInc/saw-script#2166)

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.
Copy link

@RyanGlScott RyanGlScott left a 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.

Copy link
Member

@kquick kquick left a 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.

@@ -46,17 +49,21 @@ then
cp deps/yices/*/bin/yices-smt2 bin/yices-smt2
fi

# fetch ABC
# fetch what4_solvers for ABC
Copy link
Member

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"

Copy link
Contributor Author

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 ]
Copy link
Member

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.

Copy link
Contributor Author

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)

@sauclovian-g sauclovian-g merged commit 9895c02 into main Jan 28, 2025
3 of 5 checks passed
@sauclovian-g sauclovian-g deleted the update-saw-download branch January 28, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants