Skip to content

Instantly share code, notes, and snippets.

@bsmr
Created June 23, 2015 11:24
Show Gist options
  • Select an option

  • Save bsmr/e4d4ee3b23dabdb588a9 to your computer and use it in GitHub Desktop.

Select an option

Save bsmr/e4d4ee3b23dabdb588a9 to your computer and use it in GitHub Desktop.
create Erlang and Elixir from git
cd /opt/erlang/
echo $LANG
export OLD_LANG=$LANG
export LANG=C
cd /opt/erlang/git/otp/
git fetch origin
git checkout maint
git pull origin maint
git checkout OTP-18.0-rc2
git checkout -b build-OTP-18.0-rc2
export MAKEFLAGS="-j9"
time ./otp_build setup --prefix=/opt/erlang/otp/R18/0rc2
nice make clean
nice make all
nice make install
export PATH=/opt/erlang/otp/active/bin:$PATH
nice make docs
nice make install-docs
export LANG=$OLD_LANG
cd ../elixir/
git fetch origin
git pull origin master
PREFIX=/opt/erlang/elixir/1.1.git make clean
PREFIX=/opt/erlang/elixir/1.1.git make test
PREFIX=/opt/erlang/elixir/1.1.git make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment