So, this may be me not knowing how to interact with brew maintainers or Mac.
It seems like current versions of erlang on brew do not have the JIT enabled, despite being 26.2.2.
How do I know? Well, there is a benchee test thatās failing And emu_flavor is returning :emu instead of :jit:
"26.2.2"
emu flavor: :emu
It used to work but seems to have broken in the past weeks. I canāt find anything suspicious in the brew formula. Other OSs also work fine, naturally.
I checked that this isnāt just a github action/CI behavior by running brew install erlang on my partnersā mac (still an intel mac) and it also reported the emu flavor.
Does anyone have an idea where to dig/report/fix this behavior or why it is like that? I donāt think itās on purpose, the default experience should be the āJITā experience by now.
Iām asking for the erlang experience on Mac, Iām going ahead and disabling the test on mac now
@LostKobrakai@dimitarvp thank you as always! I read the changelog to identify that this isnāt wanted behavior but couldnāt find anything but maybe I was too tired
brew install ignores locally edited casks and formulae if
HOMEBREW_NO_INSTALL_FROM_API is not set, so we temporarily export the env argument, reinstall erlang via brew installer and my local erlang formulae file occurred conflict with the above edited "--enable-jit", resolve the conflict by rerun brew edit erlang and save it.
The above steps enable JIT for my case macOS Sonama(intel) with Erlang/OTP 27.2.1