-
Notifications
You must be signed in to change notification settings - Fork 0
/
kerlrc
13 lines (12 loc) · 590 Bytes
/
kerlrc
1
2
3
4
5
6
7
8
9
10
11
12
13
# see https://github.com/kerl/kerl
# eg: MAKEFLAGS="-j $(nproc)" kerl build git $OTP_GITHUB_URL OTP-21.3.8.5 OTP-21.3.8.5
export KERL_BASE_DIR=$HOME/.kerl
export KERL_DEFAULT_INSTALL_DIR=$KERL_BASE_DIR/installs
export KERL_BUILD_BACKEND=git
export OTP_GITHUB_URL='https://github.com/erlang/otp.git'
export KERL_CONFIGURE_OPTIONS="--enable-hipe --enable-builtin-zlib"
export KERL_BUILD_PLT=true
#export KERL_DOCSH_DOT_ERLANG=exists
# see https://github.com/kerl/kerl/issues/328
export CFLAGS="-g -O3 -fno-stack-check"
export KERL_CONFIGURE_OPTIONS="--without-javac $KERL_CONFIGURE_OPTIONS"