From b5a5cee2773964fff49a1b9d5a57dd05250155be Mon Sep 17 00:00:00 2001 From: pmp-p Date: Thu, 28 Nov 2024 16:11:23 +0100 Subject: [PATCH] 3.1.73pre --- .github/workflows/ci.yml | 4 ++-- scripts/cpython-build-wasisdk.sh | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) 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