Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM ubuntu:xenial | ||
|
||
# curl | ||
# Download stage0, see src/bootstrap/bootstrap.py | ||
# g++ | ||
# Compile LLVM binding in src/rustllvm | ||
# git | ||
# Get commit hash and commit date in version string | ||
# make | ||
# Run build scripts in mk | ||
# libedit-dev zlib1g-dev | ||
# LLVM dependencies as packaged in Ubuntu | ||
# (They are optional, but Ubuntu package enables them) | ||
# llvm-3.7-dev (installed by llvm-3.7-tools) | ||
# LLVM | ||
# llvm-3.7-tools | ||
# FileCheck is used to run tests in src/test/codegen | ||
|
||
RUN apt-get update && apt-get -y install \ | ||
curl g++ git make \ | ||
libedit-dev zlib1g-dev \ | ||
llvm-3.7-tools | ||
|
||
RUN mkdir /build | ||
WORKDIR /build |