File tree 1 file changed +2
-5
lines changed 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -5,17 +5,14 @@ shopt -s extglob
5
5
mkdir -p cpython/builddir/host
6
6
mkdir -p cpython/builddir/usr/local
7
7
8
- export PYTHON_FOR_BUILD=" $( pwd) /cpython/builddir/build/python"
9
-
10
8
# install emcc ports so configure is able to detect the dependencies
11
9
embuilder build zlib bzip2
12
10
13
11
pushd cpython/builddir/host
14
12
cp ../../../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
16
14
ln -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)
19
16
make altinstall prefix=../usr/local
20
17
pushd ../usr/local
21
18
# not needed, as the binary is already loaded by the .html
You can’t perform that action at this time.
0 commit comments