-
Notifications
You must be signed in to change notification settings - Fork 7
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
rustsat-cadical compilation fails on macOS + workaround #73
Comments
Thanks for pointing this out and providing a workaround 👍 |
It fails also on my Intel iMac with macOS 12.7.4, so it doesn't seem to be exclusive to macOS 14. |
(But my guess is that GitHub CI has got also Homebrew-Clang, while I've got just Apple-Clang and Homebrew-GCC, and this is enough to make a difference.) |
Ah, very possible. The CI is definitely macos 12 and |
Seems to work now, thanks to this: rust-lang/cc-rs#1007 |
FYI, I noticed that
rustsat-cadical
fails to compile on macOS.It turned out to be caused by this issue in
cc
:clang: error: invalid version number in '-mmacosx-version-min=1.1'
on macos 10.14 rust-lang/cc-rs#963xcrun: error: unable to lookup item 'PlatformVersion' from command line tools installation
rust-lang/cc-rs#1001It works fine after doing
cargo add cc@=1.0.83
.So most likely
rustsat-cadical
will work fine once the bug incc
gets fixed, but I'm posting this here so that others who are struggling to getrustsat-cadical
work will find a workaround somewhere…The text was updated successfully, but these errors were encountered: