Commit Graph
9 Commits
Author SHA1 Message Date
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