Skip to content

Commit

Permalink
Add ps1 gcc-2.91.66 (egcs 1.1.2) (#819)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkst authored Aug 16, 2023
1 parent 0b5259f commit e84d20a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
19 changes: 11 additions & 8 deletions backend/compilers/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,15 +593,17 @@ def download_ps1():

# vanilla gcc + maspsx patch

old_gcc_base_url = "https://github.com/decompals/old-gcc/releases/download/0.2"
old_gcc_urls = {
"gcc2.6.3-psx": "https://github.com/decompals/old-gcc/releases/download/0.1/gcc-2.6.3-psx.tar.gz",
"gcc2.6.3": "https://github.com/decompals/old-gcc/releases/download/0.1/gcc-2.6.3.tar.gz",
"gcc2.7.1": "https://github.com/decompals/old-gcc/releases/download/0.1/gcc-2.7.1.tar.gz",
"gcc2.7.2": "https://github.com/decompals/old-gcc/releases/download/0.1/gcc-2.7.2.tar.gz",
"gcc2.7.2.1": "https://github.com/decompals/old-gcc/releases/download/0.1/gcc-2.7.2.1.tar.gz",
"gcc2.7.2.3": "https://github.com/decompals/old-gcc/releases/download/0.1/gcc-2.7.2.3.tar.gz",
"gcc2.8.1": "https://github.com/decompals/old-gcc/releases/download/0.1/gcc-2.8.1.tar.gz",
"gcc2.95.2": "https://github.com/decompals/old-gcc/releases/download/0.1/gcc-2.95.2.tar.gz",
"gcc2.6.3-psx": f"{old_gcc_base_url}/gcc-2.6.3-psx.tar.gz",
"gcc2.6.3": f"{old_gcc_base_url}/gcc-2.6.3.tar.gz",
"gcc2.7.1": f"{old_gcc_base_url}/gcc-2.7.1.tar.gz",
"gcc2.7.2": f"{old_gcc_base_url}/gcc-2.7.2.tar.gz",
"gcc2.7.2.1": f"{old_gcc_base_url}/gcc-2.7.2.1.tar.gz",
"gcc2.7.2.3": f"{old_gcc_base_url}/gcc-2.7.2.3.tar.gz",
"gcc2.8.1": f"{old_gcc_base_url}/gcc-2.8.1.tar.gz",
"gcc2.91.66": f"{old_gcc_base_url}/gcc-2.91.66.tar.gz",
"gcc2.95.2": f"{old_gcc_base_url}/gcc-2.95.2.tar.gz",
}
old_gcc_ids = {
"gcc2.6.3-psx": "gcc2.6.3-psx",
Expand All @@ -611,6 +613,7 @@ def download_ps1():
"gcc2.7.2.1": "gcc2.7.2.1-mipsel",
"gcc2.7.2.3": "gcc2.7.2.3-mipsel",
"gcc2.8.1": "gcc2.8.1-mipsel",
"gcc2.91.66": "gcc2.91.66-mipsel",
"gcc2.95.2": "gcc2.95.2-mipsel",
}

Expand Down
7 changes: 7 additions & 0 deletions backend/coreapp/compilers.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,12 @@ def preset_from_name(name: str) -> Optional[Preset]:
cc=PS1_GCC,
)

GCC29166_MIPSEL = GCCPS1Compiler(
id="gcc2.91.66-mipsel",
platform=PS1,
cc=PS1_GCC,
)

GCC2952_MIPSEL = GCCPS1Compiler(
id="gcc2.95.2-mipsel",
platform=PS1,
Expand Down Expand Up @@ -1068,6 +1074,7 @@ def preset_from_name(name: str) -> Optional[Preset]:
GCC2721_MIPSEL,
GCC2723_MIPSEL,
GCC281_MIPSEL,
GCC29166_MIPSEL,
GCC2952_MIPSEL,
# Saturn
CYGNUS_2_7_96Q3,
Expand Down

0 comments on commit e84d20a

Please sign in to comment.