Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Parse bitwuzla version number to provide appropriate command line args #721

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

Gallagator
Copy link
Contributor

Closes #716

Copy link
Collaborator

@ekiwi ekiwi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just two minor things to improve.

res match {
case version_regex(major, minor, _) => {
List("bitwuzla") ++
(if (major.toInt == 0 && minor.toInt == 0) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add a comment to where you found the info for which flags to use?

} else {
List()
}) ++
(if (major.toInt == 0 && minor.toInt < 3) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here a comment to the issue or PR or documentation of bitwuzla would be great

@Gallagator Gallagator force-pushed the bitwuzla_version_support branch from 9e83387 to ecca451 Compare February 26, 2024 20:59
@Gallagator
Copy link
Contributor Author

Thanks, just made the comments. I kinda rushed this and didn't think how arbitrary this code would seem without comments.

@Gallagator Gallagator force-pushed the bitwuzla_version_support branch from ecca451 to 6af9fde Compare February 26, 2024 21:03
@ekiwi ekiwi merged commit 06e6ea8 into ucb-bar:main Feb 26, 2024
27 of 29 checks passed
@ekiwi
Copy link
Collaborator

ekiwi commented Feb 26, 2024

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bitwuzla has changed it's command line argument format
2 participants