Skip to content

Commit

Permalink
Fixup 2 GC/Wii compiler ids
Browse files Browse the repository at this point in the history
  • Loading branch information
mkst committed May 19, 2024
1 parent b5e8d3e commit 3bfe424
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 64 deletions.
31 changes: 0 additions & 31 deletions platforms/gc_wii/mwcc_41_60308/Dockerfile

This file was deleted.

31 changes: 0 additions & 31 deletions platforms/gc_wii/mwcc_41_60422/Dockerfile

This file was deleted.

31 changes: 31 additions & 0 deletions platforms/gc_wii/mwcc_42_60308/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_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip

RUN mkdir -p /compilers/gc_wii/mwcc_42_60308

RUN cp -r GC/3.0a3.4/* /compilers/gc_wii/mwcc_42_60308

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

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


FROM scratch as release

COPY --from=base /compilers /compilers
31 changes: 31 additions & 0 deletions platforms/gc_wii/mwcc_42_60422/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_latest.zip "https://files.decomp.dev/compilers_latest.zip?2023-10-26"
RUN unzip compilers_latest.zip

RUN mkdir -p /compilers/gc_wii/mwcc_42_60422

RUN cp -r GC/3.0a5/* /compilers/gc_wii/mwcc_42_60422

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

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


FROM scratch as release

COPY --from=base /compilers /compilers
4 changes: 2 additions & 2 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -713,12 +713,12 @@ compilers:
template: gc_wii/mwcceppc
file: *wii_gc_compilers
package_dir: GC/3.0a3.3
- id: mwcc_41_60308
- id: mwcc_42_60308
platform: gc_wii
template: gc_wii/mwcceppc
file: *wii_gc_compilers
package_dir: GC/3.0a3.4
- id: mwcc_41_60422
- id: mwcc_42_60422
platform: gc_wii
template: gc_wii/mwcceppc
file: *wii_gc_compilers
Expand Down

0 comments on commit 3bfe424

Please sign in to comment.