Skip to content

Commit

Permalink
Add GC compiler 2.0p1 (patched) (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
encounter committed Jul 3, 2024
1 parent a78b1c9 commit a5aca4f
Show file tree
Hide file tree
Showing 28 changed files with 89 additions and 53 deletions.
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_233_144/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_233_144

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_233_159/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_233_159

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_233_163/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_233_163

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_233_163e/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_233_163e

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_233_163n/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_233_163n

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_242_81/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_242_81

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_242_81r/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_242_81r

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_247_105/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_247_105

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_247_107/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_247_107

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_247_108/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_247_108

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_247_92/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_247_92

Expand Down
31 changes: 31 additions & 0 deletions platforms/gc_wii/mwcc_247_92p1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# NOTE: This file is generated automatically via template.py. Do not edit manually!


FROM alpine:3.18 as base

# download zip first to allow for Docker caching

WORKDIR /root

RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_247_92p1

RUN cp -r GC/2.0p1/* /compilers/gc_wii/mwcc_247_92p1

RUN chmod +x /compilers/gc_wii/mwcc_247_92p1/mwcceppc.exe
RUN touch /compilers/gc_wii/mwcc_247_92p1/license.dat
RUN if [[ -f /compilers/gc_wii/mwcc_247_92p1/lmgr326b.dll ]]; then \
mv /compilers/gc_wii/mwcc_247_92p1/lmgr326b.dll /compilers/gc_wii/mwcc_247_92p1/LMGR326B.dll; \
fi
RUN if [[ -f /compilers/gc_wii/mwcc_247_92p1/lmgr8c.dll ]]; then \
mv /compilers/gc_wii/mwcc_247_92p1/lmgr8c.dll /compilers/gc_wii/mwcc_247_92p1/LMGR8C.dll; \
fi

RUN chown -R root:root /compilers/gc_wii/mwcc_247_92p1/


FROM scratch as release

COPY --from=base /compilers /compilers
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_41_51213/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_41_51213

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_41_60126/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_41_60126

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_41_60209/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_41_60209

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_41_60831/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_41_60831

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_42_127/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_42_127

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_42_140/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_42_140

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_42_142/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_42_142

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_42_60308/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_42_60308

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_42_60422/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_42_60422

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_43_145/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_43_145

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_43_151/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_43_151

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_43_172/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_43_172

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_43_188/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_43_188

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_43_202/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_43_202

Expand Down
4 changes: 2 additions & 2 deletions platforms/gc_wii/mwcc_43_213/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM alpine:3.18 as base

WORKDIR /root

RUN wget -O compilers_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip
RUN wget -O compilers_20240702.zip "https://files.decomp.dev/compilers_20240702.zip"
RUN unzip compilers_20240702.zip

RUN mkdir -p /compilers/gc_wii/mwcc_43_213

Expand Down
7 changes: 6 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
vars:
- &wii_gc_compilers https://files.decomp.dev/compilers_latest.zip?2023-10-26
- &wii_gc_compilers https://files.decomp.dev/compilers_20240702.zip
- &nds_mwcc https://cdn.discordapp.com/attachments/698589325620936736/845499146982129684/mwccarm.zip
- &3ds_armcc https://cdn.discordapp.com/attachments/710646040792924172/1148006502980927528/armcc.zip

Expand Down Expand Up @@ -695,6 +695,11 @@ compilers:
template: gc_wii/mwcceppc
file: *wii_gc_compilers
package_dir: GC/2.0
- id: mwcc_247_92p1
platform: gc_wii
template: gc_wii/mwcceppc
file: *wii_gc_compilers
package_dir: GC/2.0p1
- id: mwcc_247_105
platform: gc_wii
template: gc_wii/mwcceppc
Expand Down

0 comments on commit a5aca4f

Please sign in to comment.