Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vshymanskyy committed Sep 9, 2024
1 parent 882efde commit 1db848b
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ CFLAGS += -Os -Iruntime -I$(BUILD) -Wno-unused-value -Wno-unused-function \
LIBGCC = $(realpath $(shell $(CROSS)gcc $(CFLAGS) --print-libgcc-file-name))
LIBM = $(realpath $(shell $(CROSS)gcc $(CFLAGS) --print-file-name=libm.a))

$(info libgcc: $(LIBGCC))
$(info libm: $(LIBM))

#CLEAN_EXTRA += $(BUILD)

$(BUILD)/wasm.c: $(WASM)
$(Q)echo "libgcc: $(LIBGCC)"
$(Q)echo "libm: $(LIBM)"
$(Q)$(MKDIR) -p $(BUILD)
$(ECHO) "W2C $<"
$(Q)wasm2c -o $@ --no-debug-names --module-name="wasm" $<
Expand Down
6 changes: 4 additions & 2 deletions buildall.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/usr/bin/env python3

import sys
import subprocess
from tabulate import tabulate
from concurrent.futures import ThreadPoolExecutor, as_completed

targets = ["x86", "x64", "armv7m", "armv7emsp", "armv7emdp", "xtensa", "xtensawin"] # "armv6m", "rv32imc"
apps = ["assemblyscript", "cpp", "rust", "tinygo", "virgil", "wat", "zig", "coremark"]
apps = ["assemblyscript", "cpp", "rust", "tinygo", "zig", "virgil", "wat", "coremark"]


# Initialize a dictionary of dictionaries to store results
Expand Down Expand Up @@ -57,5 +59,5 @@ def build(target, app):
print(tabulate(table, headers=targets, showindex=apps, tablefmt="simple_outline"))

# Detect and report failure
if any(item != '🟢' for row in table for item in row):
if any(item != "🟢" for row in table for item in row):
sys.exit(1)
Binary file added runtime/libgcc-armv6m/addsf3.o
Binary file not shown.
Binary file added runtime/libgcc-armv6m/fixsfsi.o
Binary file not shown.
Binary file added runtime/libgcc-armv6m/floatsidf.o
Binary file not shown.
Binary file added runtime/libgcc-armv6m/floatsisf.o
Binary file not shown.
Binary file added runtime/libgcc-armv6m/mulsf3.o
Binary file not shown.
Binary file added runtime/libgcc-armv6m/subsf3.o
Binary file not shown.

0 comments on commit 1db848b

Please sign in to comment.