Skip to content

Commit

Permalink
fic pic
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Aug 8, 2024
1 parent 9d4930f commit 67002ff
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
16 changes: 10 additions & 6 deletions scripts/cpython-fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,13 @@ fi

if echo $PYBUILD |grep -q 13$
then
wget -q -c https://www.python.org/ftp/python/3.13.0/Python-3.13.0b4.tar.xz
tar xf Python-3.13.0b4.tar.xz
ln -s Python-3.13.0b4 cpython${PYBUILD}
# wget -q -c https://www.python.org/ftp/python/3.13.0/Python-3.13.0b4.tar.xz
# tar xf Python-3.13.0b4.tar.xz
# ln -s Python-3.13.0b4 cpython${PYBUILD}
wget -q -c https://www.python.org/ftp/python/3.13.0/Python-3.13.0rc1.tar.xz
tar xf Python-3.13.0rc1.tar.xz
ln -s Python-3.13.0rc1 cpython${PYBUILD}

mkdir $ROOT/devices/emsdk/usr/lib $ROOT/devices/$(arch)/usr/lib -p
ln -s $ROOT/devices/$(arch)/usr/lib/python3.13t $ROOT/devices/$(arch)/usr/lib/python3.13
ln -s $ROOT/devices/emsdk/usr/lib/python3.13t $ROOT/devices/emsdk/usr/lib/python3.13
Expand All @@ -59,9 +63,9 @@ fi

if echo $PYBUILD |grep -q 12$
then
wget -q -c https://www.python.org/ftp/python/3.12.4/Python-3.12.4.tar.xz
tar xf Python-3.12.4.tar.xz
ln -s Python-3.12.4 cpython${PYBUILD}
wget -q -c https://www.python.org/ftp/python/3.12.5/Python-3.12.5.tar.xz
tar xf Python-3.12.5.tar.xz
ln -s Python-3.12.5 cpython${PYBUILD}
fi


Expand Down
8 changes: 4 additions & 4 deletions sources.wasm/openssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

cd ${ROOT}/src
export OPENSSL="openssl-1.1.1w"
export URL_OPENSSL=https://www.openssl.org/source/old/1.1.1/openssl-1.1.1w.tar.gz


export URL_OPENSSL=https://github.com/openssl/openssl/releases/download/OpenSSL_1_1_1w/openssl-1.1.1w.tar.gz

if [ -f openssl.patched ]
then
Expand Down Expand Up @@ -70,7 +68,9 @@ else
emmake make build_generated libssl.a libcrypto.a
cp -r include/openssl "$PREFIX/include"
ln -s $PREFIX/include/openssl $EMSDK/upstream/emscripten/cache/sysroot/include/
cp libcrypto.a libssl.a "$PREFIX/lib" $EMSDK/upstream/emscripten/cache/sysroot/lib/wasm32-emscripten/
cp libcrypto.a libssl.a $PREFIX/lib/
cp libcrypto.a libssl.a $EMSDK/upstream/emscripten/cache/sysroot/lib/wasm32-emscripten/pic/
popd
[ -f $PREFIX/lib/libssl.a ] || exit 74
fi

0 comments on commit 67002ff

Please sign in to comment.