Skip to content

Commit db6fe73

Browse files
authored
Update to wibo 1.0.0-alpha.4 (#1702)
1 parent 7d2b54f commit db6fe73

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ RUN wget http://security.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3
8080

8181
COPY --from=nsjail /nsjail/nsjail /bin/nsjail
8282

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

8585
# Patched mips binutils
8686
RUN wget "https://github.com/decompals/binutils-mips-ps2-decompals/releases/download/v0.4/binutils-mips-ps2-decompals-linux-x86-64.tar.gz" \

backend/compilers/compilers.linux.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
common:
2+
- wibo_dlls
3+
14
gba:
25
- agbcc
36
- agbccpp

backend/coreapp/compiler_wrapper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ def compile_code(
195195
for lib in libraries
196196
)
197197
)
198+
wibo_path = settings.COMPILER_BASE_PATH / "common" / "wibo_dlls"
198199
compile_proc = sandbox.run_subprocess(
199200
cc_cmd,
200201
mounts=(
@@ -205,6 +206,7 @@ def compile_code(
205206
"PATH": PATH,
206207
"WINE": WINE,
207208
"WIBO": WIBO,
209+
"WIBO_PATH": sandbox.rewrite_path(wibo_path),
208210
"INPUT": sandbox.rewrite_path(code_path),
209211
"OUTPUT": sandbox.rewrite_path(object_path),
210212
"COMPILER_DIR": sandbox.rewrite_path(compiler.path),

0 commit comments

Comments
 (0)