diff --git a/.buildconfig b/.buildconfig index d68cd7090..665f5c1f5 100644 --- a/.buildconfig +++ b/.buildconfig @@ -1,4 +1,7 @@ PG_VERSION=16.4 -SDK_VERSION=3.1.72.3bi -WASI_SDK_VERSION=24.0.4 +SDK_VERSION=3.1.74.2bi +WASI_SDK_VERSION=24.0.5 SDKROOT=/opt/python-wasm-sdk +PG_GIT_COMMIT=8e6af359aabdf0b687dfdb8e42b489fb7d27ce0a +COPTS="-Os -g0" + diff --git a/cibuild/sdk.sh b/cibuild/sdk.sh index 0cb00f9e6..5e68b3ce5 100755 --- a/cibuild/sdk.sh +++ b/cibuild/sdk.sh @@ -96,14 +96,17 @@ int main(int argc, char**arv){ } END - EMCC_TRACE=true DEBUG_PATTERN=* ${SDKROOT}/emsdk/upstream/emscripten/emcc -sASSERTIONS=0 -sGLOBAL_BASE=32B -o hello_em.html /tmp/sdk/hello_em.c - $SDKROOT/emsdk/node/*.*.*64bit/bin/node hello_em.js |grep ^pydk > $SDKROOT/VERSION || exit 80 - rm hello_em.js hello_em.wasm + if false + then + EMCC_TRACE=true DEBUG_PATTERN=* ${SDKROOT}/emsdk/upstream/emscripten/emcc -sASSERTIONS=0 -sENVIRONMENT=node,web -sGLOBAL_BASE=32B -o hello_em.html /tmp/sdk/hello_em.c + $SDKROOT/emsdk/node/*.*.*64bit/bin/node hello_em.js |grep ^pydk > $SDKROOT/VERSION || exit 80 + rm hello_em.js hello_em.wasm - python3 -E ${SDKROOT}/emsdk/upstream/emscripten/emcc.py -O2 -g3 -sENVIRONMENT=node -sGLOBAL_BASE=32B $ALL -o hello_em.js /tmp/sdk/hello_em.c - $SDKROOT/emsdk/node/*.*.*64bit/bin/node hello_em.js |grep ^emsdk >> $SDKROOT/VERSION || exit 84 + python3 -E ${SDKROOT}/emsdk/upstream/emscripten/emcc.py -O2 -g3 -sENVIRONMENT=node,web -sGLOBAL_BASE=32B $ALL -o hello_em.js /tmp/sdk/hello_em.c + $SDKROOT/emsdk/node/*.*.*64bit/bin/node hello_em.js |grep ^emsdk >> $SDKROOT/VERSION || exit 84 - rm hello_em.* + rm hello_em.* + fi popd