-
Notifications
You must be signed in to change notification settings - Fork 20
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
1 parent
a3e0045
commit 4bf8b58
Showing
8 changed files
with
20 additions
and
218 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
FROM gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest as source | ||
FROM gcr.io/gem5-test/hpca-23-gem5-build:latest as source | ||
|
||
RUN apt -y update && apt -y install git | ||
|
||
RUN git clone https://gem5.googlesource.com/public/gem5 /gem5 | ||
|
||
WORKDIR /gem5 | ||
FROM gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest | ||
|
||
RUN git checkout 3bb19be083d38249d1e1652184d05b0e6406a660 | ||
RUN scons -j`nproc` build/ALL/gem5.fast | ||
RUN apt -y update && apt -y install git | ||
|
||
FROM gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest | ||
COPY --from=source /gem5/build/ALL/gem5.fast /usr/local/bin/gem5 |
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 |
---|---|---|
@@ -1,15 +1,13 @@ | ||
FROM gcr.io/gem5-test/ubuntu-20.04_all-dependencies:v22-0 | ||
FROM gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest | ||
|
||
# Obtain the build gem5 binaries. | ||
COPY --from=gcr.io/gem5-test/gem5-builder:v22-0 /gem5/build/X86/gem5.fast /usr/local/bin/gem5-x86 | ||
COPY --from=gcr.io/gem5-test/gem5-builder:v22-0 /gem5/build/ARM/gem5.fast /usr/local/bin/gem5-arm | ||
COPY --from=gcr.io/gem5-test/gem5-builder:v22-0 /gem5/build/RISCV/gem5.fast /usr/local/bin/gem5-riscv | ||
RUN apt -y update && apt -y install git | ||
|
||
# Obtain the cross compilers | ||
RUN mkdir /opt/cross-compiler | ||
RUN git clone https://gem5.googlesource.com/public/gem5 /gem5 | ||
|
||
WORKDIR /gem5 | ||
|
||
RUN git checkout 3bb19be083d38249d1e1652184d05b0e6406a660 | ||
|
||
RUN scons -j`nproc` build/ALL/gem5.fast | ||
|
||
COPY --from=gcr.io/gem5-test/gnu-cross-compiler-aarch64 /opt/cross-compiler/aarch64-linux /opt/cross-compiler/aarch64-linux | ||
ENV PATH="/opt/cross-compiler/aarch64-linux/bin:${PATH}" | ||
|
||
COPY --from=gcr.io/gem5-test/gnu-cross-compiler-riscv64 /opt/cross-compiler/riscv64-linux /opt/cross-compiler/riscv64-linux | ||
ENV PATH="/opt/cross-compiler/riscv64-linux/bin:${PATH}" |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,27 +1,9 @@ | ||
version: '2' | ||
|
||
services: | ||
builder: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile-builder | ||
image: gcr.io/gem5-test/gem5-builder:v22-0 | ||
gnu-cross-compiler-riscv64: | ||
build: | ||
context: gnu-cross-compilers | ||
dockerfile: Dockerfile-riscv64 | ||
image: gcr.io/gem5-test/gnu-cross-compiler-riscv64 | ||
gnu-cross-compiler-aarch64: | ||
build: | ||
context: gnu-cross-compilers | ||
dockerfile: Dockerfile-aarch64 | ||
image: gcr.io/gem5-test/gnu-cross-compiler-aarch64 | ||
gem5-tutorial-env: | ||
hpca-23-gem5-build: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
image: gcr.io/gem5-test/gem5-tutorial-env:latest | ||
depends_on: | ||
- builder | ||
- gnu-cross-compiler-riscv64 | ||
- gnu-cross-compiler-aarch64 | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.