File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -5,17 +5,14 @@ shopt -s extglob
55mkdir -p cpython/builddir/host
66mkdir -p cpython/builddir/usr/local
77
8- export PYTHON_FOR_BUILD=" $( pwd) /cpython/builddir/build/python"
9-
108# install emcc ports so configure is able to detect the dependencies
119embuilder build zlib bzip2
1210
1311pushd cpython/builddir/host
1412cp ../../../config.site-wasm config.site-wasm
15- CONFIG_SITE=config.site-wasm READELF=true ZLIB_LIBS=" -s USE_ZLIB" BZIP2_LIBS=" -s USE_BZIP2" emconfigure ../../configure -C --without-pymalloc --enable-big-digits=30 --with-pydebug --with-suffix=.wasm --with- ensurepip=no --disable-ipv6 --host=wasm32-unknown-emscripten --build=$( ../../config.guess)
13+ CONFIG_SITE=config.site-wasm READELF=true ZLIB_LIBS=" -s USE_ZLIB" BZIP2_LIBS=" -s USE_BZIP2" emconfigure ../../configure -C --without-pymalloc --enable-big-digits=30 --with-pydebug --with-ensurepip=no --disable-ipv6 --host=wasm32-unknown-emscripten --build=$( ../../config.guess) --with-build-python= $( pwd ) /../build/python --with-freeze-module= $( pwd ) /../build/Programs/_freeze_module
1614ln -sfr Modules/Setup.stdlib Modules/Setup.local
17- export FREEZE_MODULE=../build/Programs/_freeze_module
18- emmake make CROSS_COMPILE=yes FREEZE_MODULE=../build/Programs/_freeze_module PYTHON_FOR_BUILD=../build/python _PYTHON_HOST_PLATFORM=wasm32-unknown-emscripten -j$( nproc)
15+ emmake make -j$( nproc)
1916make altinstall prefix=../usr/local
2017pushd ../usr/local
2118# not needed, as the binary is already loaded by the .html
You can’t perform that action at this time.
0 commit comments