From aab6c1e909b941f5cde62908f9f546ae63ae9d60 Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Fri, 15 Nov 2024 16:57:11 -0800 Subject: [PATCH] Update pyodide.yml Add flags from src\api\js\scripts\build-wasm.ts --- .github/workflows/pyodide.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pyodide.yml b/.github/workflows/pyodide.yml index 6a9368d6b..215405b2e 100644 --- a/.github/workflows/pyodide.yml +++ b/.github/workflows/pyodide.yml @@ -34,7 +34,7 @@ jobs: run: git clone https://github.com/emscripten-core/emsdk.git ~/emsdk && cd ~/emsdk && PYODIDE_EMSCRIPTEN_VERSION=$(~/env/bin/pyodide config get emscripten_version) && ./emsdk install ${PYODIDE_EMSCRIPTEN_VERSION} && ./emsdk activate ${PYODIDE_EMSCRIPTEN_VERSION} - name: Build Z3 - run: source ~/emsdk/emsdk_env.sh && cd src/api/python && CFLAGS="-fexceptions" LDFLAGS="-fexceptions" ~/env/bin/pyodide build --exports whole_archive + run: source ~/emsdk/emsdk_env.sh && cd src/api/python && CFLAGS="-fexceptions -s PTHREAD_POOL_SIZE=0 -s PTHREAD_POOL_SIZE_STRICT=0 -s MODULARIZE=1 -pthread-s WASM_BIGINT -s USE_PTHREADS=1" LDFLAGS="-fexceptions" ~/env/bin/pyodide build --exports whole_archive - name: Setup env-pyodide run: source ~/env/bin/activate && source ~/emsdk/emsdk_env.sh && pyodide venv ~/env-pyodide