9
,9.0.1
8
,8.0.0
7
,7.1.0
-
Pull the image
docker pull leavesask/llvm:<tag>
- Run the image interactively
docker run -it --rm leavesask/llvm:<tag>
The base image is spack/ubuntu-bionic.
# Build an image for LLVM 9
make LLVM_VERSION="9"
# Build and publish the image
make release LLVM_VERSION="9"
Check Makefile
for more options.
As an alternative, you can build the image with docker build
command.
docker build \
--build-arg LLVM_VERSION="9" \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg VCS_REF=`git rev-parse --short HEAD` \
-t my-repo/llvm:latest .
Arguments and their defaults are listed below.
LLVM_VERSION
: The version of LLVM supported by ubuntu-bionic (defaults to9
)