-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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
mono 6.12.0.199 #166109
mono 6.12.0.199 #166109
Conversation
Closes #165618 |
cf2eb6d
to
c0904c8
Compare
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.
Thanks for the PR, but I don't think that restricting this to Intel-only is a good idea.
Formula/m/mono.rb
Outdated
depends_on "cmake" => :build | ||
depends_on "pkg-config" => :build | ||
|
||
depends_on arch: :x86_64 |
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 don't think we want to do this.
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.
Are we sure that mono will run on apple silicon macs in this way? Seems like they still have problem with running mono on arm. mono/#21092.
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.
If we don't have a working mono, it will not be shipped on ARM. But this declares an explicit dependency on x86, which is false.
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 were originally able to build mono
on ARM due to Rosetta on bare metal machines. At that time, I also had to disable msbuild
since I could not get the current version to build.
Currently, fsharp
won't build on our runners and no idea if support is planned by mono
.
One last alternative would be to also disable fsharp
from both Linux and ARM. I think that just leaves behind the mono
runtime. The main problem building fsharp
is that it needs to bootstrap off of .NET 3 (way too old for both Apple Silicon support and OpenSSL 3 support).
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.
The main problem building
fsharp
is that it needs to bootstrap off of .NET 3 (way too old for both Apple Silicon support and OpenSSL 3 support).
any issue tracker for it?
maybe let's disable fsharp? at least is better than nothing.
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.
any issue tracker for it?
The development of mono is not very active anymore, and it seems that they are not interested in bumping the F# version for now.
maybe let's disable fsharp? at least is better than nothing.
I'll try this.
546aaea
to
2353a4c
Compare
99b8504
to
8fb2428
Compare
I removed fsharp and msbuild (build dependency for fsharp), and the build suceeds on both platforms. On both platforms, |
LGTM |
Any updates? |
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.
So what useful parts do we actually have left for users if there is no more: Linux, msbuild or fsharp?
We can bring linux build back since |
Thanks @fel1x-developer! @Homebrew/core if this builds and gets us onto a newer version: it's worth it. Let's merge and iterate. |
I tried 6.12.206, but it reports LineUnavailableException(see #158402). We can merge this for now and I'll open a new PR for a newer version. |
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?