diff options
| author | Siva Mahadevan <siva@FreeBSD.org> | 2026-02-01 21:01:39 +0000 |
|---|---|---|
| committer | Siva Mahadevan <siva@FreeBSD.org> | 2026-02-03 22:02:17 +0000 |
| commit | c4faf46ff4741f016c5196e1de77822733ff4a1f (patch) | |
| tree | fc8744e23acb57ae48ab103bfc41879c1c190918 | |
| parent | 919a4da7ff9794ffa53dbdd972ae25ec30368fa0 (diff) | |
lang/python3{12,13}: limit parallel .pyc compilation to MAKE_JOBS
This option is available since python312[0]. This fixes
python312 and python313 builds with qemu-user-static
emulating riscv64.
[0] https://github.com/python/cpython/commit/9a7e9f9921804f3f90151ca42703e612697dd430
Approved by: vishwin (#python), lwhsu (mentor)
Signed-off-by: Siva Mahadevan <siva@FreeBSD.org>
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54906
| -rw-r--r-- | lang/python312/Makefile | 3 | ||||
| -rw-r--r-- | lang/python313/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lang/python312/Makefile b/lang/python312/Makefile index 6e48645cc79e..2a9f20e34520 100644 --- a/lang/python312/Makefile +++ b/lang/python312/Makefile @@ -40,7 +40,8 @@ INSTALL_TARGET= altinstall # Don't want cloberring of unprefixed files TEST_TARGET= buildbottest TEST_ARGS= TESTOPTS=-j${MAKE_JOBS_NUMBER} -MAKE_ARGS+= INSTALL_SHARED="${INSTALL_LIB}" # Strip shared library +MAKE_ARGS+= COMPILEALL_OPTS=-j${MAKE_JOBS_NUMBER} \ + INSTALL_SHARED="${INSTALL_LIB}" # Strip shared library SUB_FILES= pkg-message SUB_LIST= PYTHON_SUFFIX=${PYTHON_SUFFIX} diff --git a/lang/python313/Makefile b/lang/python313/Makefile index 9583def19644..3e3955b12324 100644 --- a/lang/python313/Makefile +++ b/lang/python313/Makefile @@ -35,7 +35,8 @@ INSTALL_TARGET= altinstall # Don't want cloberring of unprefixed files TEST_TARGET= test TEST_ARGS= TESTOPTS=-j${MAKE_JOBS_NUMBER} -MAKE_ARGS+= INSTALL_SHARED="${INSTALL_LIB}" # Strip shared library +MAKE_ARGS+= COMPILEALL_OPTS=-j${MAKE_JOBS_NUMBER} \ + INSTALL_SHARED="${INSTALL_LIB}" # Strip shared library SUB_FILES= pkg-message SUB_LIST= PYTHON_SUFFIX=${PYTHON_BASESUFFIX}${THREADFLAG} |
