Created
June 23, 2015 11:24
-
-
Save bsmr/e4d4ee3b23dabdb588a9 to your computer and use it in GitHub Desktop.
create Erlang and Elixir from git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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