Skip to content

Commit dc422bc

Browse files
authored
Add decompals fork of EGCS 1.1.2-4 (#26)
* Update build instructions * Add decompals fork of EGCS 1.1.2-4
1 parent f5da3b2 commit dc422bc

File tree

4 files changed

+55
-2
lines changed

4 files changed

+55
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ The values that are used to populate the templates are found in values.yaml.
1414
Rather than modifying the Dockerfiles directly, the `.j2` template should be changed and the Dockerfiles regenerated.
1515

1616
```sh
17-
python3 -m pip install Jinja2
18-
python3 template.py
17+
python3 -m pip install Jinja2 pyyaml
18+
python3 template.py values.yaml
1919
```
2020

2121
## Notes:
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# NOTE: This file is generated automatically via template.py. Do not edit manually!
2+
3+
4+
FROM alpine:3.18 as base
5+
6+
RUN mkdir -p /compilers/n64/egcs_1.1.2-4c
7+
8+
RUN wget -O mips-binutils-egcs-2.9.5-macos.tar.gz "https://github.com/decompals/mips-binutils-egcs-2.9.5/releases/download/0.6/mips-binutils-egcs-2.9.5-macos.tar.gz"
9+
RUN tar xvzf mips-binutils-egcs-2.9.5-macos.tar.gz -C /compilers/n64/egcs_1.1.2-4c
10+
RUN wget -O mips-gcc-egcs-2.91.66-macos.tar.gz "https://github.com/decompals/mips-gcc-egcs-2.91.66/releases/download/0.7/mips-gcc-egcs-2.91.66-macos.tar.gz"
11+
RUN tar xvzf mips-gcc-egcs-2.91.66-macos.tar.gz -C /compilers/n64/egcs_1.1.2-4c
12+
13+
RUN chown -R root:root /compilers/n64/egcs_1.1.2-4c/
14+
RUN chmod +x /compilers/n64/egcs_1.1.2-4c/*
15+
16+
17+
FROM scratch as release
18+
19+
COPY --from=base /compilers /compilers
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# NOTE: This file is generated automatically via template.py. Do not edit manually!
2+
3+
4+
FROM alpine:3.18 as base
5+
6+
RUN mkdir -p /compilers/n64/egcs_1.1.2-4c
7+
8+
RUN wget -O mips-binutils-egcs-2.9.5-linux.tar.gz "https://github.com/decompals/mips-binutils-egcs-2.9.5/releases/download/0.6/mips-binutils-egcs-2.9.5-linux.tar.gz"
9+
RUN tar xvzf mips-binutils-egcs-2.9.5-linux.tar.gz -C /compilers/n64/egcs_1.1.2-4c
10+
RUN wget -O mips-gcc-egcs-2.91.66-linux.tar.gz "https://github.com/decompals/mips-gcc-egcs-2.91.66/releases/download/0.7/mips-gcc-egcs-2.91.66-linux.tar.gz"
11+
RUN tar xvzf mips-gcc-egcs-2.91.66-linux.tar.gz -C /compilers/n64/egcs_1.1.2-4c
12+
13+
RUN chown -R root:root /compilers/n64/egcs_1.1.2-4c/
14+
RUN chmod +x /compilers/n64/egcs_1.1.2-4c/*
15+
16+
17+
FROM scratch as release
18+
19+
COPY --from=base /compilers /compilers

values.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,21 @@ compilers:
101101
template: common/default
102102
file: https://github.com/AngheloAlf/egcs_1.1.2-4/releases/download/latest/egcs_1.1.2-4.tar.gz
103103

104+
- id: egcs_1.1.2-4c
105+
platform: n64
106+
template: common/default
107+
arch: linux
108+
files:
109+
- https://github.com/decompals/mips-binutils-egcs-2.9.5/releases/download/0.6/mips-binutils-egcs-2.9.5-linux.tar.gz
110+
- https://github.com/decompals/mips-gcc-egcs-2.91.66/releases/download/0.7/mips-gcc-egcs-2.91.66-linux.tar.gz
111+
- id: egcs_1.1.2-4c
112+
platform: n64
113+
template: common/default
114+
arch: darwin
115+
files:
116+
- https://github.com/decompals/mips-binutils-egcs-2.9.5/releases/download/0.6/mips-binutils-egcs-2.9.5-macos.tar.gz
117+
- https://github.com/decompals/mips-gcc-egcs-2.91.66/releases/download/0.7/mips-gcc-egcs-2.91.66-macos.tar.gz
118+
104119
- id: gcc4.4.0-mips64-elf
105120
platform: n64
106121
template: common/default

0 commit comments

Comments
 (0)