scala-cli
scala-cli copied to clipboard
Build scalafmt native images for macOS ARM too
Is your feature request related to a problem? Please describe. VirtusLab/scalafmt-native-image only builds macOS native images of scalafmt for x86-64, not for aarch64.
Describe the solution you'd like Like VirtusLab/coursier-m1, it should have access to an M1 worker, so it should be able to build images for macOS ARM.
Since https://github.com/scalameta/scalafmt/pull/4325 recently got merged, VirtusLab/scalafmt-native-image should no longer be necessary and the native images should be built with Scala Native in the scalameta repo instead.
This applies to the MacOS arm native images as well, since we can now use the official GitHub runners for this.
Either way, I'm thinking this should be raised upstream rather than here.
@Gedochao Did Scala CLI switch to launchers generated from scalameta/scalafmt already?
Not yet. We should, however.
Please, it's slow on my M3 book when running scala-cli fmt on pekko project, thanks
https://github.com/VirtusLab/scalafmt-native-image has been sunset.
Since scalafmt 3.9.1, native images are built in https://github.com/scalameta/scalafmt
Feel free to re-raise this there.
Closing the issue here.