Formula in homebrew/core for my app uses slow non-native version #6576
-
|
I maintain cljfmt, a formatter for Clojure code, and I've noticed someone's added it to Homebrew core as a formula. Unfortunately it installs the JVM bytecode version rather than the natively compiled version, so Homebrew's version of cljfmt has a significantly slower startup than the recommended version (~1700ms vs. 1ms). I'm unsure what to do in this case, and I'd appreciate some advice on how to proceed. I could see about submitting a change to the formula that downloads the precompiled binaries instead, but I'm unsure whether or not a brew formula is required to compile from scratch. I could also submit a version that uses GraalVM to compile the binaries, but this would create quite a bit of overhead, unless bottles are meant to cache the binaries produced in this case. Or the formula could be deprecated, and a custom tap used instead. What would be the best option? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
|
Everything in Homebrew/core must be built from source on our CI. Feel free to open a PR modifying the formula if you can improve it. |
Beta Was this translation helpful? Give feedback.
From your explanation, it sounds like the current state of the formula is the best we can do. We do not remove software from Homebrew/core in favor of other taps. If you plan to maintain your own tap, you'll just need to instruct your users on how to install from that tap.