This repository has been archived by the owner on Jul 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 107
/
Copy pathMakefile
37 lines (27 loc) · 1.51 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.DEFAULT_GOAL := gem5-tutorial-env
gem5-tutorial-env: gem5-tutorial-env-pull builder gnu-cross-compiler-riscv64 gnu-cross-compiler-aarch64
docker build . -t gcr.io/gem5-test/gem5-tutorial-env:latest
gem5-tutorial-env-pull:
docker pull gcr.io/gem5-test/gem5-tutorial-env:latest
builder: builder-pull
docker build . -f Dockerfile-builder -t gcr.io/gem5-test/gem5-builder:latest
builder-pull:
docker pull gcr.io/gem5-test/gem5-builder:latest
gnu-cross-compiler-riscv64: gnu-cross-compiler-riscv64-pull
docker build gnu-cross-compilers -f gnu-cross-compilers/Dockerfile-riscv64 -t gcr.io/gem5-test/gnu-cross-compiler-riscv64:latest
gnu-cross-compiler-riscv64-pull:
docker pull gcr.io/gem5-test/gnu-cross-compiler-riscv64:latest
gnu-cross-compiler-aarch64: gnu-cross-compiler-aarch64-pull
docker build gnu-cross-compilers -f gnu-cross-compilers/Dockerfile-aarch64 -t gcr.io/gem5-test/gnu-cross-compiler-aarch64:latest
gnu-cross-compiler-aarch64-pull:
docker pull gcr.io/gem5-test/gnu-cross-compiler-aarch64:latest
clean:
- docker image rm gcr.io/gem5-test/gem5-builder:latest
- docker image rm gcr.io/gem5-test/gnu-cross-compiler-riscv64:latest
- docker image rm gcr.io/gem5-test/gnu-cross-compiler-aarch64:latest
- docker image rm gcr.io/gem5-test/gem5-tutorial-env:latest
push: gem5-tutorial-env
docker push gcr.io/gem5-test/gem5-builder:latest
docker push gcr.io/gem5-test/gnu-cross-compiler-riscv64:latest
docker push gcr.io/gem5-test/gnu-cross-compiler-aarch64:latest
docker push gcr.io/gem5-test/gem5-tutorial-env:latest