-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
ceres-solver: remove gcc dependency on linux #106924
Conversation
depends_on "gcc" | ||
end | ||
|
||
fails_with gcc: "5" # C++17 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should keep this line. The rest can be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a linux brew user, but I don't understand what that line would achieve on its own? (And it probably also fails with some other, later gcc versions.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should help prevent brew
from trying to use a host gcc-5
if that's all that's available, and we already know that that's hopeless.
@@ -18,7 +18,6 @@ class CeresSolver < Formula | |||
sha256 cellar: :any, monterey: "ab39d83b1ae0299e88f3fc9d5b23f19c98903d6452e21b6d363966ef5f4817d0" | |||
sha256 cellar: :any, big_sur: "d1918fe281cb00dbb2d773c03252a0d50384688c32cb1ad92510f55c37276dca" | |||
sha256 cellar: :any, catalina: "d6a945ae9d978b449228a795cfab9ab0061920f6c73f9cb93bb0a72946f4b206" | |||
sha256 cellar: :any_skip_relocation, x86_64_linux: "5f095246dbff97818863a99864400c25278c6c23ee5bf42546eca75ae04f7de1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also add a comment above the bottle block about the removal of the Linux bottle.
Closing in favour of the mass-PR at #106926 |
As discussed in #100411