diff --git a/scripts/cpython-build-emsdk.sh b/scripts/cpython-build-emsdk.sh index a0d6d43..0e156ca 100755 --- a/scripts/cpython-build-emsdk.sh +++ b/scripts/cpython-build-emsdk.sh @@ -393,9 +393,9 @@ cat > $HOST_PREFIX/bin/python3-wasm <&2 -#ln -sf $HOST_PREFIX/bin/python${PYBUILD} $HOST_PREFIX/bin/python3 - -#HPFX=./devices/$(arch)/usr/lib/python${PYBUILD} -#TPFX=./devices/emsdk/usr/lib/python${PYBUILD} - -#rm $TPFX/ensurepip/_bundled/setuptools-*.whl - -#for moveit in setuptools distutils _distutils _distutils_hack pkg_resources -#do -# echo " -# * migrating ${moveit} -#" 1>&2 -# cp -rf $HPFX/${moveit} $TPFX/ -# cp -rf $HPFX/${moveit}-* $TPFX/ -# cp -rf $HPFX/site-package/${moveit} $TPFX/site-package/ -# cp -rf $HPFX/site-package/${moveit}-* $TPFX/site-package/ -#done - - - unset PYTHON_FOR_BUILD unset EMCC_CFLAGS diff --git a/wasisdk/bin/emconfigure b/wasisdk/bin/emconfigure new file mode 100755 index 0000000..540ac96 --- /dev/null +++ b/wasisdk/bin/emconfigure @@ -0,0 +1,2 @@ +#!/bin/bash +CONFIGURE=true $@ --host $(arch) --target=wasm32-unknown-wasi --with-template=wasi diff --git a/wasisdk/bin/emmake b/wasisdk/bin/emmake new file mode 100755 index 0000000..3f81661 --- /dev/null +++ b/wasisdk/bin/emmake @@ -0,0 +1,2 @@ +#!/bin/bash +$@