Skip to content

jj1bdx/dot-kerlrc

Repository files navigation

dot-kerlrc

Batch Configuration files for kerl.

License

Public domain. See UNLICENSE.

compilation command set example

kerl update releases
kerl build 26.2.0 26.2.0
kerl install 26.2.0 /home/kenji/otp/26.2.0

For obtaining git release from GitHub Erlang/OTP archive

# use the following `kerl build git` command
kerl build git https://github.com/erlang/otp/ OTP-26.2.0 26.2.0

Enforcing concurrency in make

# set env variable MAKEFLAGS (see otp_build script)
env MAKEFLAGS="-j8" kerl build 26.2.0 26.2.0-test

On .kerlrc

I have removed individual .kerlrc files to encapsulate the execution environment inside the shell scripts. Use the shell scripts.

Tips and caveats

  • Since .kerlrc is a dot file for /bin/sh, exporting inside the environment will define the env variables
  • The export commands will affect your login environment when activating curl!
  • Rule of thumb: keep .kerlrc entries all commented out or use independent shell scripts

Installation

See OpenSSL.md

macOS

    otp-build-from-git-macos.sh 26.2.0
    env KERL_BUILD_PLT="yes" KERL_BUILD_DOCS="yes" \
  	kerl install 26.2.0 /Users/kenji/otp/26.2.0

Ubuntu 22.04 LTS

  • See otp-build-from-git-ubuntu.sh
  • required packages: build-essential libncurses5-dev autoconf libwxgtk3.0
  • required packages for building documentation: xsltproc
    otp-build-from-git-ubuntu.sh 26.2.0
    env KERL_BUILD_PLT="yes" KERL_BUILD_DOCS="yes" \
  	kerl install 26.2.0 /home/kenji/otp/26.2.0

Other scripts

  • fetch-github-elixir.sh: update local copy of Elixir repository
  • fetch-github-otp.sh: update local copy of Erlang/OTP repository

[End of README.md]

About

Configuration files for kerl

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages