Skip to content

Commit aaa35d4

Browse files
committed
Update ps1 gcc compilers
1 parent 85c22af commit aaa35d4

File tree

14 files changed

+84
-22
lines changed

14 files changed

+84
-22
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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/ps1/gcc2.6.0-mipsel
7+
8+
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"
9+
RUN tar xvzf gcc-2.6.0.tar.gz -C /compilers/ps1/gcc2.6.0-mipsel
10+
11+
ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
12+
13+
RUN wget -O maspsx.zip https://github.com/mkst/maspsx/archive/${MASPSX_HASH}.zip
14+
RUN unzip maspsx.zip
15+
RUN cp -r maspsx-${MASPSX_HASH} /compilers/ps1/gcc2.6.0-mipsel/maspsx
16+
17+
RUN echo '#!/bin/bash' >> as
18+
RUN echo 'python3 $(dirname -- $0)/maspsx/maspsx.py --run-assembler --no-macro-inc -I${COMPILER_DIR} $@' >> as
19+
RUN cp as /compilers/ps1/gcc2.6.0-mipsel/
20+
21+
RUN chown -R root:root /compilers/ps1/gcc2.6.0-mipsel/
22+
RUN chmod +x /compilers/ps1/gcc2.6.0-mipsel/*
23+
24+
25+
FROM scratch as release
26+
27+
COPY --from=base /compilers /compilers

platforms/ps1/gcc2.6.3-mipsel/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55

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

8-
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"
8+
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"
99
RUN tar xvzf gcc-2.6.3.tar.gz -C /compilers/ps1/gcc2.6.3-mipsel
1010

1111
ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2

platforms/ps1/gcc2.6.3-psx/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55

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

8-
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"
8+
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"
99
RUN tar xvzf gcc-2.6.3-psx.tar.gz -C /compilers/ps1/gcc2.6.3-psx
1010

1111
ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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/ps1/gcc2.7.0-mipsel
7+
8+
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"
9+
RUN tar xvzf gcc-2.7.0.tar.gz -C /compilers/ps1/gcc2.7.0-mipsel
10+
11+
ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
12+
13+
RUN wget -O maspsx.zip https://github.com/mkst/maspsx/archive/${MASPSX_HASH}.zip
14+
RUN unzip maspsx.zip
15+
RUN cp -r maspsx-${MASPSX_HASH} /compilers/ps1/gcc2.7.0-mipsel/maspsx
16+
17+
RUN echo '#!/bin/bash' >> as
18+
RUN echo 'python3 $(dirname -- $0)/maspsx/maspsx.py --run-assembler --no-macro-inc -I${COMPILER_DIR} $@' >> as
19+
RUN cp as /compilers/ps1/gcc2.7.0-mipsel/
20+
21+
RUN chown -R root:root /compilers/ps1/gcc2.7.0-mipsel/
22+
RUN chmod +x /compilers/ps1/gcc2.7.0-mipsel/*
23+
24+
25+
FROM scratch as release
26+
27+
COPY --from=base /compilers /compilers

platforms/ps1/gcc2.7.1-mipsel/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55

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

8-
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"
8+
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"
99
RUN tar xvzf gcc-2.7.1.tar.gz -C /compilers/ps1/gcc2.7.1-mipsel
1010

1111
ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2

platforms/ps1/gcc2.7.2-mipsel/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55

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

8-
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"
8+
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"
99
RUN tar xvzf gcc-2.7.2.tar.gz -C /compilers/ps1/gcc2.7.2-mipsel
1010

1111
ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2

platforms/ps1/gcc2.7.2.1-mipsel/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55

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

8-
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"
8+
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"
99
RUN tar xvzf gcc-2.7.2.1.tar.gz -C /compilers/ps1/gcc2.7.2.1-mipsel
1010

1111
ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2

platforms/ps1/gcc2.7.2.2-mipsel/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55

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

8-
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"
8+
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"
99
RUN tar xvzf gcc-2.7.2.2.tar.gz -C /compilers/ps1/gcc2.7.2.2-mipsel
1010

1111
ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2

platforms/ps1/gcc2.7.2.3-mipsel/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55

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

8-
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"
8+
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"
99
RUN tar xvzf gcc-2.7.2.3.tar.gz -C /compilers/ps1/gcc2.7.2.3-mipsel
1010

1111
ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2

platforms/ps1/gcc2.8.0-mipsel/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55

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

8-
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"
8+
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"
99
RUN tar xvzf gcc-2.8.0.tar.gz -C /compilers/ps1/gcc2.8.0-mipsel
1010

1111
ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2

0 commit comments

Comments
 (0)