Skip to content
Merged
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
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ RUN wget http://security.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3

COPY --from=nsjail /nsjail/nsjail /bin/nsjail

COPY --from=ghcr.io/decompals/wibo:0.6.16 /usr/local/sbin/wibo /usr/bin/
COPY --from=ghcr.io/decompals/wibo:1.0.0-alpha.4 /usr/local/sbin/wibo /usr/bin/

# Patched mips binutils
RUN wget "https://github.com/decompals/binutils-mips-ps2-decompals/releases/download/v0.4/binutils-mips-ps2-decompals-linux-x86-64.tar.gz" \
Expand Down
3 changes: 3 additions & 0 deletions backend/compilers/compilers.linux.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
common:
- wibo_dlls

gba:
- agbcc
- agbccpp
Expand Down
2 changes: 2 additions & 0 deletions backend/coreapp/compiler_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ def compile_code(
for lib in libraries
)
)
wibo_path = settings.COMPILER_BASE_PATH / "common" / "wibo_dlls"
compile_proc = sandbox.run_subprocess(
cc_cmd,
mounts=(
Expand All @@ -205,6 +206,7 @@ def compile_code(
"PATH": PATH,
"WINE": WINE,
"WIBO": WIBO,
"WIBO_PATH": sandbox.rewrite_path(wibo_path),
"INPUT": sandbox.rewrite_path(code_path),
"OUTPUT": sandbox.rewrite_path(object_path),
"COMPILER_DIR": sandbox.rewrite_path(compiler.path),
Expand Down