For anyone that comes by later, you can dramatically speed up compilation times by either:
- Using the Homebrew version of Erlang
- Using the
KERL_CONFIGURE_OPTIONS
from the Homebrew formula.
I used:
export KERL_CONFIGURE_OPTIONS="
--disable-debug \
--disable-silent-rules \
--enable-dynamic-ssl-lib \
--enable-hipe \
--enable-shared-zlib \
--enable-smp-support \
--enable-threads \
--enable-wx \
--with-ssl=$(brew --prefix openssl@1.1) \
--without-javac
--enable-darwin-64bit \
--enable-kernel-poll \
--with-dynamic-trace=dtrace \
"
my thinking is that --enable-darwin-64bit
is doing the heavy lifting