Martin Storsjö
13827fe666
build-python: Install a versionless python.exe in addition to python3.exe
...
This can make it marginally easier to use it, even if the embedded
Python installation isn't that much meant to be used for various
external purposes.
2023-12-07 13:33:53 +02:00
Martin Storsjö
0f24a65373
build-python: Bump to the latest version of Python 3.11.6 from msys2
2023-11-28 00:02:44 +02:00
Martin Storsjö
0f8d5f068f
build-python: Bump Python to 3.11.6
2023-10-06 16:34:12 +03:00
Martin Storsjö
a711bb4ed0
build-python: Bump libffi to version 3.4.4
...
This is the latest release version.
This requires a newer version of Autoconf than what is available
out of the box in Ubuntu 20.04.
2023-10-06 16:33:59 +03:00
Martin Storsjö
e7238335e7
build-python: Bump to Python 3.11.4
...
This is the current version packaged in MSYS2.
2023-08-18 22:30:29 +03:00
Martin Storsjö
46215b2510
build-python: Bump to Python 3.10.11
2023-04-27 10:50:36 +03:00
Martin Storsjö
3844ad9a95
build-python: Use $HOST-gcc instead of $HOST-clang for cross compilation
...
While $HOST-clang is more specific for the use in llvm-mingw,
using the form $HOST-gcc would allow using the same script in
GCC based environments too.
2023-03-11 23:53:10 +02:00
Martin Storsjö
d07bb8889b
build-python: Bump to Python 3.10.9
2023-01-29 01:09:17 +02:00
Martin Storsjö
3d4e36806a
Avoid using the nonstandard "which" command
...
This command isn't a standard tool; different distributions have
different implementations, and e.g. Fedora doesn't ship it by
default.
Settle on using "command -v $tool >/dev/null" for tests about whether
a tool is available. (We could also use "hash $tool 2>/dev/null" as we
already had in build-all.sh, but settling on using "command -v"
everywhere, for consistency and simplicity.)
2022-08-02 15:17:24 +03:00
Martin Storsjö
9daf8a9b84
build-python: Update to the latest version of cpython-mingw 3.10.5
2022-07-31 01:08:30 +03:00
Martin Storsjö
98f3380bec
build-python: Bump to cpython-mingw 3.10.5
...
This is the version that msys2 currently ships.
2022-06-19 23:10:14 +03:00
Martin Storsjö
3debb07f0f
build-python: Bump to the latest version on the mingw-v3.9.10 branch
2022-03-23 13:07:39 +02:00
Martin Storsjö
578afb1a6d
build-python: Bump to the latest version on the mingw-v3.9.7 branch
...
This makes the armv7 build of python work correctly.
2022-02-09 14:02:20 +02:00
Martin Storsjö
7e7344281d
build-python: Discard local changes before checking out a new revision
...
Even if we don't patch cpython-mingw any longer, we still run
autoreconf on it (and libffi), which can cause changes to
committed files. If trying to check out a different version of
the source, this would fail unless the local changes have been
discarded.
2021-11-16 12:37:59 +02:00
Long Nguyen
fefa34fd04
build-python: Update to v3.9.7, remove patches
...
Also add gitignores/dockerignores for directories created during
the python build.
2021-11-15 21:47:55 +02:00
Martin Storsjö
69d3d40f00
build-python: Fix rebuilding with an already checked out directory
...
After applying patches (with plain 'patch' instead of 'git am'), we
need to reset the tree to be able to check out the targeted version
again.
2021-08-17 11:13:45 +03:00
Long Nguyen
8ff26ac253
Add a script for cross building python
2021-08-16 11:26:37 +03:00