Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions platforms/win32/msvc9.0rtm/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# NOTE: This file is generated automatically via template.py. Do not edit manually!


FROM alpine:3.18 as base

RUN mkdir -p /compilers/win32/msvc9.0rtm

RUN wget -O msvc9.0rtm-fulltree.tar.gz "https://github.com/RogueValleyInformationSecurity/compilers/releases/download/msvc9.0rtm-20260223/msvc9.0rtm-fulltree.tar.gz"
RUN tar xvzf msvc9.0rtm-fulltree.tar.gz -C /compilers/win32/msvc9.0rtm

RUN chown -R root:root /compilers/win32/msvc9.0rtm/
RUN chmod +x /compilers/win32/msvc9.0rtm/*


FROM scratch as release

COPY --from=base /compilers /compilers
5 changes: 5 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ vars:
- &decomp_dev https://files.decomp.dev/compilers_20251015.zip
- &nds_mwcc https://github.com/decompme/compilers/releases/download/compilers/mwccarm.zip
- &3ds_armcc https://github.com/decompme/compilers/releases/download/compilers/armcc.zip
- &msvc9_0rtm_url https://github.com/RogueValleyInformationSecurity/compilers/releases/download/msvc9.0rtm-20260223/msvc9.0rtm-fulltree.tar.gz
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file is ~150MB, do we need everything inside to simply run the compiler?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, it shouldn't be a variable like this, we do this when multiple compilers share the same url.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, it should be a placholder url for .../decompme/compilers/releases... because we will host any files ourselves.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it enough to just tar up the VC/bin directory?

VC/bin$ du -hs
33M	.


compilers:
# Common
Expand Down Expand Up @@ -1063,6 +1064,10 @@ compilers:
include_dirs:
- msvc8.0-*/include
- msvc8.0-*/PlatformSDK/Include
- id: msvc9.0rtm
platform: win32
template: common/default
file: *msvc9_0rtm_url

# DREAMCAST
- id: shc-v5.0r10
Expand Down