Closed
Description
I’m trying out building on a-shell on iOS which is a wasm terminal platform without gnu make.
It looks like since c1f8850 there are undefined symbols in the wasm simd 128 code:
clang -pipe -msimd128 -D_WASI_EMULATED_MMAN -D_WASI_EMULATED_PROCESS_CLOCKS -c ggml.c -o ggml.o
ggml.c:2090:43: error: use of undeclared identifier 'px'
const block_q4_0 * restrict x0 = &px[i + 0];
^
These undefined symbols were first introduced on line 1726 of ggml.c c1f8850#diff-6d9ce99fcb6f51ff76f59e479f6e6fc0bb62edef7442805d7a5bb15b23996b5dR1726 (github seems to need the large diff manually expanded) and is presently at https://github.com/ggerganov/llama.cpp/blob/d2beca95dcfcd6f1145886e914b879ffc3604b7a/ggml.c#L2090