Skip to content

Commit 40b2383

Browse files
committed
CI test.
1 parent 261eadc commit 40b2383

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,15 @@ jobs:
110110
TARGET_TRIPLE: wasm32-wasip1-threads
111111
THREAD_MODEL: posix
112112

113+
- name: Test SIMD
114+
os: ubuntu-24.04
115+
clang_version: 16
116+
test: true
117+
upload: wasm32-wasi
118+
env:
119+
MAKE_TARGETS: "no-check-symbols"
120+
EXTRA_CFLAGS: "-O2 -DNDEBUG -msimd128 -mrelaxed-simd -mbulk-memory -D__wasilibc_simd_string"
121+
113122
steps:
114123
- uses: actions/checkout@v4.1.7
115124
with:

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,11 +808,13 @@ $(DUMMY_LIBS):
808808
$(AR) crs "$$lib"; \
809809
done
810810

811-
finish: $(STARTUP_FILES) libc $(DUMMY_LIBS)
811+
no-check-symbols: $(STARTUP_FILES) libc $(DUMMY_LIBS)
812812
#
813813
# The build succeeded! The generated sysroot is in $(SYSROOT).
814814
#
815815

816+
finish: no-check-symbols
817+
816818
ifeq ($(LTO),no)
817819
# The check for defined and undefined symbols expects there to be a heap
818820
# allocator (providing malloc, calloc, free, etc). Skip this step if the build
@@ -1033,4 +1035,4 @@ clean:
10331035
$(RM) -r "$(OBJDIR)"
10341036
$(RM) -r "$(SYSROOT)"
10351037

1036-
.PHONY: default libc libc_so finish install clean check-symbols bindings
1038+
.PHONY: default libc libc_so finish install clean check-symbols no-check-symbols bindings

0 commit comments

Comments
 (0)