Skip to content

Commit 63d03ea

Browse files
committed
3.1.32.0pre
1 parent f73ac30 commit 63d03ea

File tree

2 files changed

+7
-29
lines changed

2 files changed

+7
-29
lines changed

scripts/cpython-build-emsdk-deps.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
for pkg in $ROOT/sources.wasm/*.sh
88
do
99
pushd $ROOT/src
10+
chmod +x $pkg
1011
$pkg
1112
popd
1213
done
@@ -95,12 +96,12 @@ else
9596
" 1>&2
9697
else
9798
#bad png+grayscale https://github.com/libsdl-org/SDL_image/releases/download/candidate-2.5.1/SDL2_image-2.5.1.tar.gz
98-
wget -c -q https://github.com/libsdl-org/SDL_image/releases/download/release-2.6.1/SDL2_image-2.6.1.tar.gz
99+
wget -c -q https://github.com/libsdl-org/SDL_image/releases/download/release-2.6.3/SDL2_image-2.6.3.tar.gz
99100

100-
tar xfz SDL2_image-2.6.1.tar.gz
101+
tar xfz SDL2_image-2.6.3.tar.gz
101102
fi
102103

103-
pushd SDL2_image-2.6.1
104+
pushd SDL2_image-2.6.3
104105
CFLAGS=$CPOPTS EMCC_CFLAGS="$ALL" CC=emcc $CNF \
105106
--disable-sdltest --disable-jpg-shared --disable-png-shared
106107
#--disable-tif-shared

scripts/cpython-fetch.sh

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -44,31 +44,9 @@ fi
4444

4545
if echo $PYBUILD | grep -q 11$
4646
then
47-
if true
48-
then
49-
wget -q -c https://www.python.org/ftp/python/3.11.1/Python-3.11.1.tar.xz
50-
tar xf Python-3.11.1.tar.xz
51-
ln -s Python-3.11.1 cpython${PYBUILD}
52-
else
53-
if [ -d cpython${PYBUILD} ]
54-
then
55-
pushd cpython${PYBUILD} 2>&1 >/dev/null
56-
git restore .
57-
58-
if git pull|grep -q 'Already up to date'
59-
then
60-
export REBUILD=${REBUILD:-false}
61-
else
62-
export REBUILD=true
63-
fi
64-
#not here or pip won't install properly anymore its wheels
65-
#cat $ROOT/support/compilenone.py > ./Lib/compileall.py
66-
popd
67-
else
68-
git clone --no-tags --depth 1 --single-branch --branch ${PYBUILD} https://github.com/python/cpython.git cpython${PYBUILD}
69-
export REBUILD=true
70-
fi
71-
fi
47+
wget -q -c https://www.python.org/ftp/python/3.11.2/Python-3.11.2.tar.xz
48+
tar xf Python-3.11.2.tar.xz
49+
ln -s Python-3.11.2 cpython${PYBUILD}
7250
export REBUILD=true
7351
fi
7452

@@ -86,7 +64,6 @@ fi
8664
popd
8765

8866

89-
9067
# 3.10 is not wasm stable
9168
if [ -f support/__EMSCRIPTEN__.patches/${PYBUILD}-host.diff ]
9269
then

0 commit comments

Comments
 (0)