message: Add WASI SDK build for codecbench
  make codecbench.wasm and make codecbench-simd.wasm now use WASI SDK
  instead of Emscripten; it's necessary to use recent clang and set
  WASI_SDK to point to a wasi-sysroot.
diff: @@ -144,12 +144,18 @@ vcachetuner: tools/vcachetuner.cpp $(BUILD)/tools/meshloader.cpp.o $(BUILD)/demo
  codecbench: tools/codecbench.cpp $(LIBRARY)
  $(CXX) $^ $(CXXFLAGS) $(LDFLAGS) -o $@
  -codecbench.js codecbench.wasm: tools/codecbench.cpp ${LIBRARY_SOURCES}
  +codecbench.js: tools/codecbench.cpp ${LIBRARY_SOURCES}
  emcc $^ -O3 -g -DNDEBUG -s TOTAL_MEMORY=268435456 -o $@
  -codecbench-simd.js codecbench-simd.wasm: tools/codecbench.cpp ${LIBRARY_SOURCES}
  +codecbench-simd.js: tools/codecbench.cpp ${LIBRARY_SOURCES}
  emcc $^ -O3 -g -DNDEBUG -s TOTAL_MEMORY=268435456 -msimd128 -o $@
  +codecbench.wasm: tools/codecbench.cpp ${LIBRARY_SOURCES}
  + $(WASMCC) $^ -fno-exceptions --target=wasm32-wasi --sysroot=$(WASI_SDK) -lc++ -lc++abi -O3 -g -DNDEBUG -o $@
  +
  +codecbench-simd.wasm: tools/codecbench.cpp ${LIBRARY_SOURCES}
  + $(WASMCC) $^ -fno-exceptions --target=wasm32-wasi --sysroot=$(WASI_SDK) -lc++ -lc++abi -O3 -g -DNDEBUG -msimd128 -o $@
  +
  codecfuzz: tools/codecfuzz.cpp src/vertexcodec.cpp src/indexcodec.cpp
  $(CXX) $^ -fsanitize=fuzzer,address,undefined -O1 -g -o $@
  