diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32ba434..3787ab2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,14 +20,14 @@ jobs: env: BUILDS: 3.12 3.13 SDKROOT: /opt/python-wasm-sdk - EMFLAVOUR: tot + EMFLAVOUR: latest Py_GIL_DISABLED: false wasisdk: true gosdk: false rustsdk: false nimsdk: false + COPTS: -Os -g0 - steps: - uses: actions/checkout@v3.3.0 diff --git a/scripts/cpython-build-wasisdk.sh b/scripts/cpython-build-wasisdk.sh index b77b4a0..f14688d 100755 --- a/scripts/cpython-build-wasisdk.sh +++ b/scripts/cpython-build-wasisdk.sh @@ -92,6 +92,9 @@ END fi popd +# now libmpdec.a is correctly linked in libpython. +if false +then pushd ${SDKROOT}/wasisdk if [ -f libpython${PYBUILD}.a ] then @@ -113,7 +116,7 @@ END wasi-c -nostdlib -fpic -r -Wl,--whole-archive -o libpython${PYBUILD}.o $LINKALL llvm-ar rcs ${PREFIX}/lib/libpython${PYBUILD}.a libpython${PYBUILD}.o popd - +fi else echo cannot find PYTHON_FOR_BUILD=$PYTHON_FOR_BUILD