From b99fc5ee7006f94a6411027e499b9b37e8b058e4 Mon Sep 17 00:00:00 2001 From: Mark Street Date: Tue, 17 Mar 2026 20:30:23 +0000 Subject: [PATCH] Add gcc2.7.2-cdk --- platforms/ps1/gcc2.7.2-cdk/Dockerfile | 25 +++++++++++++++++++++++++ values.yaml | 5 +++++ 2 files changed, 30 insertions(+) create mode 100644 platforms/ps1/gcc2.7.2-cdk/Dockerfile diff --git a/platforms/ps1/gcc2.7.2-cdk/Dockerfile b/platforms/ps1/gcc2.7.2-cdk/Dockerfile new file mode 100644 index 0000000..36aeb1d --- /dev/null +++ b/platforms/ps1/gcc2.7.2-cdk/Dockerfile @@ -0,0 +1,25 @@ +# 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.2-cdk + +RUN wget -O gcc-2.7.2-cdk.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.14/gcc-2.7.2-cdk.tar.gz" +RUN tar xvzf gcc-2.7.2-cdk.tar.gz -C /compilers/ps1/gcc2.7.2-cdk + +RUN wget -O maspsx.zip https://github.com/mkst/maspsx/archive/cae9594f3e8fa76e2255c4624da4584364a37c27.zip +RUN unzip maspsx.zip +RUN cp -r maspsx-cae9594f3e8fa76e2255c4624da4584364a37c27 /compilers/ps1/gcc2.7.2-cdk/maspsx + +RUN echo '#!/bin/bash' >> as +RUN echo 'python3 $(dirname -- $0)/maspsx/maspsx.py --run-assembler -I${COMPILER_DIR} $@' >> as +RUN cp as /compilers/ps1/gcc2.7.2-cdk/ + +RUN chown -R root:root /compilers/ps1/gcc2.7.2-cdk/ +RUN chmod +x /compilers/ps1/gcc2.7.2-cdk/* + + +FROM scratch AS release + +COPY --from=base /compilers /compilers diff --git a/values.yaml b/values.yaml index 63d8ad8..9060b85 100644 --- a/values.yaml +++ b/values.yaml @@ -225,6 +225,11 @@ compilers: template: ps1/maspsx file: https://github.com/decompals/old-gcc/releases/download/0.7/gcc-2.7.1.tar.gz maspsx_hash: *maspsx_hash + - id: gcc2.7.2-cdk + platform: ps1 + template: ps1/maspsx + file: https://github.com/decompals/old-gcc/releases/download/0.14/gcc-2.7.2-cdk.tar.gz + maspsx_hash: *maspsx_hash - id: gcc2.7.2-mipsel platform: ps1 template: ps1/maspsx