From a3be5e8aede94c946ccc5c6699f1d14242f8c5e0 Mon Sep 17 00:00:00 2001 From: Alexandr Reshetnikov Date: Thu, 9 Jan 2025 16:24:14 +0400 Subject: [PATCH] update python 3.13.1 to 20250106 (#128) linux gnu: use `pgo+lto` builds --- python/build_gnu.sh | 4 ++-- python/build_msvc.sh | 2 +- python/build_musl.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/build_gnu.sh b/python/build_gnu.sh index 5ec4042ef..a4aaa22b1 100755 --- a/python/build_gnu.sh +++ b/python/build_gnu.sh @@ -10,12 +10,12 @@ export LC_ALL=en_US.UTF-8 tool_name="python" tool_version="3.13.1" -release_date="20241206" +release_date="20250106" self_name="$tool_name-$tool_version" release_version_dirpath="$dp0/release/$self_name" mkdir -p "$release_version_dirpath" && cd "$dp0/release" -download_url="https://github.com/indygreg/python-build-standalone/releases/download/$release_date/cpython-$tool_version+$release_date-x86_64-unknown-linux-gnu-pgo-full.tar.zst" +download_url="https://github.com/indygreg/python-build-standalone/releases/download/$release_date/cpython-$tool_version+$release_date-x86_64-unknown-linux-gnu-pgo+lto-full.tar.zst" cpython_zip="$dp0/release/raw_cpython-linux.tar.zst" echo "download python from $download_url ..." [[ ! -f "$cpython_zip" ]] && wget "$download_url" -O "$cpython_zip" diff --git a/python/build_msvc.sh b/python/build_msvc.sh index 2ba5c3c97..fd20e2970 100755 --- a/python/build_msvc.sh +++ b/python/build_msvc.sh @@ -4,7 +4,7 @@ set -e tool_name="python" tool_version="3.13.1" -release_date="20241206" +release_date="20250106" self_name="$tool_name-$tool_version" release_version_dirpath="$dp0/release/$self_name" diff --git a/python/build_musl.sh b/python/build_musl.sh index e4712d595..743699e29 100755 --- a/python/build_musl.sh +++ b/python/build_musl.sh @@ -7,7 +7,7 @@ apk add --no-cache alpine-sdk python3-dev tool_name="python" tool_version="3.13.1" -release_date="20241206" +release_date="20250106" self_name="$tool_name-$tool_version" release_version_dirpath="$dp0/release/$self_name"