-
Notifications
You must be signed in to change notification settings - Fork 150
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
YICES_STUB option leads to build failure #599
Comments
And for similar reasons as #595, the option won't work on macOS at all, because no |
There is no logic to choose the default (it's always Yices) and there is no fall-back if it's not available -- see the message for commit 49760f3. That means that a build with Yices stub would need to have The check for the solver (and error if it's a stub) is done in |
I'm not sure we are on the same page. The issue isn't so much that I'd have to pass So using YICES_STUB means that there is no package at all, because the build fails. |
Issue
When using the build option YICES_STUB=1 during building in order to disable Yices, BSC fails to build with error
Apparently, building with Yices disabled still requires Yices to build? If I had to guess, then probably the logic to choose the default solver fails to switch to STP if Yices isn't available.The buiild fails when the standard library is being compiled.
Additional information
Error occurs on the main branch (commit 0b38555). Omitting the build option builds just fine. The exact same issue happens on commit 0352270 from Nov 2020, which is the oldest one I can test with my GHC compiler.
Command:
make YICES_STUB=1 GHC="ghc -dynamic" GHCJOBS=4 GHCRTSFLAGS='+RTS -M5G -A128m -RTS' install-src
Command (0352270):
make YICES_STUB=1 GHC="ghc -dynamic" GHCJOBS=4 GHCRTSFLAGS='+RTS -M5G -A128m -RTS' install
System information
OS: Arch Linux
Kernel: 6.4.9-arch1-1
GHC: 9.0.2-3
BSC: 0b38555 and 0352270 (via bluespec-git)
Full error log
The text was updated successfully, but these errors were encountered: