Allow sharing abc solver cache entries between OSs #2080
Open
Description
Determining the solver version for SBV.ABC
currently yields a string specific to the operating system.
For example, this is from Ubuntu:
$ abc -q "version;quit"
UC Berkeley, ABC 1.01 (compiled Dec 12 2022 14:58:41)
And here's the output on macOS:
$ abc -q "version;quit"
UC Berkeley, ABC 1.01 (compiled Dec 12 2022 15:01:38)
They're the same version, yet they'll unfortunately produce different hash keys.
A possible solution might be to match the version string inside those messages and use that as input to the hash key instead?
Also, it seems that the arguments ["-q", "version;quit"]
would be correct, without the leading "s"
?