git: 2bc95a28ca98 - 2026Q1 - lang/python3{12,13}: limit parallel .pyc compilation to MAKE_JOBS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Feb 2026 18:46:59 UTC
The branch 2026Q1 has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2bc95a28ca98ec7c9129f109cb6fc70b8918cd48
commit 2bc95a28ca98ec7c9129f109cb6fc70b8918cd48
Author: Siva Mahadevan <siva@FreeBSD.org>
AuthorDate: 2026-02-01 21:01:39 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2026-02-13 18:46:30 +0000
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
(cherry picked from commit c4faf46ff4741f016c5196e1de77822733ff4a1f)
---
lang/python312/Makefile | 3 ++-
lang/python313/Makefile | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/lang/python312/Makefile b/lang/python312/Makefile
index 62a2452f6cdb..5d6e9be25f12 100644
--- a/lang/python312/Makefile
+++ b/lang/python312/Makefile
@@ -45,7 +45,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}