Skip to content

Commit

Permalink
erlang@25: Workaround for Mac OS Sonoma
Browse files Browse the repository at this point in the history
This basically disables JIT compiling for now since the way erlang@25 does JIT compiling is not supported by Mac OS Sonoma.

See this for more information: erlang/otp#7687

erlang@25: disable JIT on arm64 Sonoma only
  • Loading branch information
rafaelgaspar authored and p-linnane committed Sep 29, 2023
1 parent 4087783 commit 1fb6c05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Formula/e/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def install
if OS.mac?
args << "--enable-darwin-64bit"
args << "--enable-kernel-poll" if MacOS.version > :el_capitan
args << "--disable-jit" if MacOS.version == :sonoma && Hardware::CPU.arm?
args << "--with-dynamic-trace=dtrace" if MacOS::CLT.installed?
end

Expand Down

0 comments on commit 1fb6c05

Please sign in to comment.