Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjakubowski committed Nov 1, 2023
1 parent 8ae327c commit 9349f9f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1164,9 +1164,12 @@ jobs:
# NOTA BENE: When removing this step, also remove the vendored pyodide file
- name: Provision workaround for bug in Pyodide 0.24.1
run: |
PYTHON_HOME=$(python -c 'import sys; print(sys.prefix)')
mkdir -p $PYTHON_HOME/site-packages/pyodide_build/tools/cmake/Modules/Platform
cp vendor/pyodide/Emscripten.cmake $PYTHON_HOME/site-packages/pyodide_build/tools/cmake/Modules/Platform/
PYTHON_HOME="$(python -c 'import sys; print(sys.prefix)')"
TOOLCHAIN_DIR="$PYTHON_HOME/lib/python3.11/site-packages/pyodide_build/tools/cmake/Modules/Platform"
echo "$PYTHON_HOME"
echo "$TOOLCHAIN_DIR"
mkdir -p "$TOOLCHAIN_DIR"
cp vendor/pyodide/Emscripten.cmake "$TOOLCHAIN_DIR"
- name: Build
# Without --exports=pyinit, pyodide-build tries to export all symbols from every .o,
Expand Down

0 comments on commit 9349f9f

Please sign in to comment.