Skip to content

Commit

Permalink
Update ps1 gcc compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
mkst committed Oct 5, 2023
1 parent 85c22af commit aaa35d4
Show file tree
Hide file tree
Showing 14 changed files with 84 additions and 22 deletions.
27 changes: 27 additions & 0 deletions platforms/ps1/gcc2.6.0-mipsel/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# NOTE: This file is generated automatically via template.py. Do not edit manually!


FROM alpine:3.18 as base

RUN mkdir -p /compilers/ps1/gcc2.6.0-mipsel

RUN wget -O gcc-2.6.0.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.6.0.tar.gz"
RUN tar xvzf gcc-2.6.0.tar.gz -C /compilers/ps1/gcc2.6.0-mipsel

ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2

RUN wget -O maspsx.zip https://github.com/mkst/maspsx/archive/${MASPSX_HASH}.zip
RUN unzip maspsx.zip
RUN cp -r maspsx-${MASPSX_HASH} /compilers/ps1/gcc2.6.0-mipsel/maspsx

RUN echo '#!/bin/bash' >> as
RUN echo 'python3 $(dirname -- $0)/maspsx/maspsx.py --run-assembler --no-macro-inc -I${COMPILER_DIR} $@' >> as
RUN cp as /compilers/ps1/gcc2.6.0-mipsel/

RUN chown -R root:root /compilers/ps1/gcc2.6.0-mipsel/
RUN chmod +x /compilers/ps1/gcc2.6.0-mipsel/*


FROM scratch as release

COPY --from=base /compilers /compilers
2 changes: 1 addition & 1 deletion platforms/ps1/gcc2.6.3-mipsel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM alpine:3.18 as base

RUN mkdir -p /compilers/ps1/gcc2.6.3-mipsel

RUN wget -O gcc-2.6.3.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.6.3.tar.gz"
RUN wget -O gcc-2.6.3.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.6.3.tar.gz"
RUN tar xvzf gcc-2.6.3.tar.gz -C /compilers/ps1/gcc2.6.3-mipsel

ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Expand Down
2 changes: 1 addition & 1 deletion platforms/ps1/gcc2.6.3-psx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM alpine:3.18 as base

RUN mkdir -p /compilers/ps1/gcc2.6.3-psx

RUN wget -O gcc-2.6.3-psx.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.6.3-psx.tar.gz"
RUN wget -O gcc-2.6.3-psx.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.6.3-psx.tar.gz"
RUN tar xvzf gcc-2.6.3-psx.tar.gz -C /compilers/ps1/gcc2.6.3-psx

ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Expand Down
27 changes: 27 additions & 0 deletions platforms/ps1/gcc2.7.0-mipsel/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# NOTE: This file is generated automatically via template.py. Do not edit manually!


FROM alpine:3.18 as base

RUN mkdir -p /compilers/ps1/gcc2.7.0-mipsel

RUN wget -O gcc-2.7.0.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.7.0.tar.gz"
RUN tar xvzf gcc-2.7.0.tar.gz -C /compilers/ps1/gcc2.7.0-mipsel

ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2

RUN wget -O maspsx.zip https://github.com/mkst/maspsx/archive/${MASPSX_HASH}.zip
RUN unzip maspsx.zip
RUN cp -r maspsx-${MASPSX_HASH} /compilers/ps1/gcc2.7.0-mipsel/maspsx

RUN echo '#!/bin/bash' >> as
RUN echo 'python3 $(dirname -- $0)/maspsx/maspsx.py --run-assembler --no-macro-inc -I${COMPILER_DIR} $@' >> as
RUN cp as /compilers/ps1/gcc2.7.0-mipsel/

RUN chown -R root:root /compilers/ps1/gcc2.7.0-mipsel/
RUN chmod +x /compilers/ps1/gcc2.7.0-mipsel/*


FROM scratch as release

COPY --from=base /compilers /compilers
2 changes: 1 addition & 1 deletion platforms/ps1/gcc2.7.1-mipsel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM alpine:3.18 as base

RUN mkdir -p /compilers/ps1/gcc2.7.1-mipsel

RUN wget -O gcc-2.7.1.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.7.1.tar.gz"
RUN wget -O gcc-2.7.1.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.7.1.tar.gz"
RUN tar xvzf gcc-2.7.1.tar.gz -C /compilers/ps1/gcc2.7.1-mipsel

ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Expand Down
2 changes: 1 addition & 1 deletion platforms/ps1/gcc2.7.2-mipsel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM alpine:3.18 as base

RUN mkdir -p /compilers/ps1/gcc2.7.2-mipsel

RUN wget -O gcc-2.7.2.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.7.2.tar.gz"
RUN wget -O gcc-2.7.2.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.7.2.tar.gz"
RUN tar xvzf gcc-2.7.2.tar.gz -C /compilers/ps1/gcc2.7.2-mipsel

ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Expand Down
2 changes: 1 addition & 1 deletion platforms/ps1/gcc2.7.2.1-mipsel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM alpine:3.18 as base

RUN mkdir -p /compilers/ps1/gcc2.7.2.1-mipsel

RUN wget -O gcc-2.7.2.1.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.7.2.1.tar.gz"
RUN wget -O gcc-2.7.2.1.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.7.2.1.tar.gz"
RUN tar xvzf gcc-2.7.2.1.tar.gz -C /compilers/ps1/gcc2.7.2.1-mipsel

ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Expand Down
2 changes: 1 addition & 1 deletion platforms/ps1/gcc2.7.2.2-mipsel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM alpine:3.18 as base

RUN mkdir -p /compilers/ps1/gcc2.7.2.2-mipsel

RUN wget -O gcc-2.7.2.2.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.7.2.2.tar.gz"
RUN wget -O gcc-2.7.2.2.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.7.2.2.tar.gz"
RUN tar xvzf gcc-2.7.2.2.tar.gz -C /compilers/ps1/gcc2.7.2.2-mipsel

ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Expand Down
2 changes: 1 addition & 1 deletion platforms/ps1/gcc2.7.2.3-mipsel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM alpine:3.18 as base

RUN mkdir -p /compilers/ps1/gcc2.7.2.3-mipsel

RUN wget -O gcc-2.7.2.3.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.7.2.3.tar.gz"
RUN wget -O gcc-2.7.2.3.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.7.2.3.tar.gz"
RUN tar xvzf gcc-2.7.2.3.tar.gz -C /compilers/ps1/gcc2.7.2.3-mipsel

ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Expand Down
2 changes: 1 addition & 1 deletion platforms/ps1/gcc2.8.0-mipsel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM alpine:3.18 as base

RUN mkdir -p /compilers/ps1/gcc2.8.0-mipsel

RUN wget -O gcc-2.8.0.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.8.0.tar.gz"
RUN wget -O gcc-2.8.0.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.8.0.tar.gz"
RUN tar xvzf gcc-2.8.0.tar.gz -C /compilers/ps1/gcc2.8.0-mipsel

ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Expand Down
2 changes: 1 addition & 1 deletion platforms/ps1/gcc2.8.1-mipsel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM alpine:3.18 as base

RUN mkdir -p /compilers/ps1/gcc2.8.1-mipsel

RUN wget -O gcc-2.8.1.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.8.1.tar.gz"
RUN wget -O gcc-2.8.1.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.8.1.tar.gz"
RUN tar xvzf gcc-2.8.1.tar.gz -C /compilers/ps1/gcc2.8.1-mipsel

ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Expand Down
2 changes: 1 addition & 1 deletion platforms/ps1/gcc2.91.66-mipsel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM alpine:3.18 as base

RUN mkdir -p /compilers/ps1/gcc2.91.66-mipsel

RUN wget -O gcc-2.91.66.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.91.66.tar.gz"
RUN wget -O gcc-2.91.66.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.91.66.tar.gz"
RUN tar xvzf gcc-2.91.66.tar.gz -C /compilers/ps1/gcc2.91.66-mipsel

ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Expand Down
2 changes: 1 addition & 1 deletion platforms/ps1/gcc2.95.2-mipsel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM alpine:3.18 as base

RUN mkdir -p /compilers/ps1/gcc2.95.2-mipsel

RUN wget -O gcc-2.95.2.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.95.2.tar.gz"
RUN wget -O gcc-2.95.2.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.95.2.tar.gz"
RUN tar xvzf gcc-2.95.2.tar.gz -C /compilers/ps1/gcc2.95.2-mipsel

ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Expand Down
30 changes: 19 additions & 11 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,50 +139,58 @@ compilers:
template: ps1/psyq
file: https://github.com/mkst/esa/releases/download/psyq-binaries/psyq4.6.tar.gz

- id: gcc2.6.0-mipsel
platform: ps1
template: ps1/maspsx
file: https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.6.0.tar.gz
- id: gcc2.6.3-psx
platform: ps1
template: ps1/maspsx
file: https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.6.3-psx.tar.gz
file: https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.6.3-psx.tar.gz
- id: gcc2.6.3-mipsel
platform: ps1
template: ps1/maspsx
file: https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.6.3.tar.gz
file: https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.6.3.tar.gz
- id: gcc2.7.0-mipsel
platform: ps1
template: ps1/maspsx
file: https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.7.0.tar.gz
- id: gcc2.7.1-mipsel
platform: ps1
template: ps1/maspsx
file: https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.7.1.tar.gz
file: https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.7.1.tar.gz
- id: gcc2.7.2-mipsel
platform: ps1
template: ps1/maspsx
file: https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.7.2.tar.gz
file: https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.7.2.tar.gz
- id: gcc2.7.2.1-mipsel
platform: ps1
template: ps1/maspsx
file: https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.7.2.1.tar.gz
file: https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.7.2.1.tar.gz
- id: gcc2.7.2.2-mipsel
platform: ps1
template: ps1/maspsx
file: https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.7.2.2.tar.gz
file: https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.7.2.2.tar.gz
- id: gcc2.7.2.3-mipsel
platform: ps1
template: ps1/maspsx
file: https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.7.2.3.tar.gz
file: https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.7.2.3.tar.gz
- id: gcc2.8.0-mipsel
platform: ps1
template: ps1/maspsx
file: https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.8.0.tar.gz
file: https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.8.0.tar.gz
- id: gcc2.8.1-mipsel
platform: ps1
template: ps1/maspsx
file: https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.8.1.tar.gz
file: https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.8.1.tar.gz
- id: gcc2.91.66-mipsel
platform: ps1
template: ps1/maspsx
file: https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.91.66.tar.gz
file: https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.91.66.tar.gz
- id: gcc2.95.2-mipsel
platform: ps1
template: ps1/maspsx
file: https://github.com/decompals/old-gcc/releases/download/0.3/gcc-2.95.2.tar.gz
file: https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.95.2.tar.gz

# PS2
- id: ee-gcc2.9-990721
Expand Down

0 comments on commit aaa35d4

Please sign in to comment.