Precompiled cmdstan
The GitHub action of this repository compiles several versions of cmdstan
on different operating systems and publishes them as GitHub releases. The precompiled versions can be used to slash CI times or build documentation on readthedocs.org.
# Download the release and unpack it for use with `cmdstanpy`.
curl -L -o cmdstan.tar.gz https://github.com/tillahoffmann/precompiled-cmdstan/releases/download/cmdstan-ubuntu-20.04-2.31.0/cmdstan-ubuntu-20.04-2.31.0.tar.gz
mkdir -p ~/.cmdstan
tar -xf cmdstan.tar.gz -C ~/.cmdstan
A concrete example is available here as part of the gptools-stan
package for performant Gaussian processes in Stan.