Skip to content
This repository was archived by the owner on Oct 25, 2020. It is now read-only.

Files

Latest commit

f2e8bce · May 4, 2020

History

History
58 lines (41 loc) · 1.75 KB

README.md

File metadata and controls

58 lines (41 loc) · 1.75 KB

Layers Version Commit License Docker Pulls Automated Build

Supported tags

  • 9, 9.0.1
  • 8, 8.0.0
  • 7, 7.1.0

How to use

  1. Install docker engine

  2. Pull the image

docker pull leavesask/llvm:<tag>
  1. Run the image interactively
docker run -it --rm leavesask/llvm:<tag>

How to build

The base image is spack/ubuntu-bionic.

make

# 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.

docker build

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 to 9)