This is a collection of scripts, used to install optional tools, required during builds.
The strategy is to allow separate updates for separate builds, otherwise updating the tools for one build may affect other builds.
As a consequence, this means to avoid a large install with all tool needed by all builds, and to install separate sets of tools, one for each build.
A small disadvantage of this strategy is a possible duplication of tools, but disk space is not a real limitation.
The build scripts should update the PATH themselves to access the optional tools.
For manual use, for each set of tools an alias to upadate the PATH can be defined.
These scripts can be downloaded from a GitHub gist (which are a kind of light git projects).
$ mkdir -p $HOME/opt
$ git clone https://gist.github.com/ilg-ul/46407a070844f764dec6f27bde385797 \
$HOME/opt/install-opt.gist
This Homebrew instance provides general purpose tools, like minicom.
To run the install script:
$ caffeinate bash $HOME/opt/install-opt.gist/install-homebrew.sh
The alias to add these tools to the PATH is hb
.
$ alias hb='export PATH=$HOME/opt/homebrew/bin:$PATH'
This Homebrew instance provides tools used during GNU ARM Eclipse binary tools builds, like QEMU, OpenOCD and Windows Build Tools.
To run the install script:
$ caffeinate bash $HOME/opt/install-opt.gist/install-homebrew-gae.sh
The alias to add these tools to the PATH is hbg
.
$ alias hbg='export PATH$HOME/opt/homebrew-gae/bin:$PATH'
This Homebrew instance provides GCC 5 and GCC 6, used during µOS++ test builds.
To run the install script:
$ caffeinate bash $HOME/opt/install-opt.gist/install-homebrew-gcc.sh
The alias to add these tools to the PATH is hbgcc
.
$ alias hbgcc='export PATH=$HOME/opt/homebrew-gcc/bin:$PATH'
This Homebrew instance provides Jekyll, used to generate the GitHub Pages static sites, like GNU ARM Eclipse, µOS++ IIIe/CMSIS++/POSIX++, XCDL/xPack.
To run the install script:
$ caffeinate bash $HOME/opt/install-opt.gist/install-homebrew-jekyll.sh
The alias to add these tools to the PATH is hbj
.
$ alias hbj='export PATH=$HOME/opt/homebrew-jekyll/bin:$PATH'
This is a local instance of TeX Live, used to build the OpenOCD & QEMU manuals.
It generally includes the same packages as the MacTex distribution, and is very large (> 4.5 GB).
To run the install script:
$ caffeinate bash $HOME/opt/install-opt.gist/install-texlive.sh
The alias to add these tools to the PATH is tl
.
$ alias tl='export PATH=$HOME/opt/texlive/bin/x86_64-darwin:$PATH'
Note 1: Homebrew blacklisted TeX, ("Installing TeX from source is weird and gross"), but, apart from size and install time, there are no other problems.
Note 2: However, due to its size, it is better to keep TeX separate from the Homebrew instances, which can now be reinstalled more easily.