git: 95c27eb79f58 - main - lang/python314t: add
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Jun 2026 19:23:43 UTC
The branch main has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=95c27eb79f5886397bbbbc6be84b2dac1dbb2b18
commit 95c27eb79f5886397bbbbc6be84b2dac1dbb2b18
Author: Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2026-06-12 19:20:30 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2026-06-12 19:20:30 +0000
lang/python314t: add
Event: Works Must Run
---
Mk/Uses/python.mk | 2 +-
lang/Makefile | 1 +
lang/python314t/Makefile | 12 ++++++++++++
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index e1387143ae1a..3b449b11566a 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -341,7 +341,7 @@ ZEROREGS_UNSAFE= yes
# What Python version and what Python interpreters are currently supported?
# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
-_PYTHON_VERSIONS= 3.11 3.12 3.13 3.13t 3.14 3.15 3.10 2.7 # preferred first
+_PYTHON_VERSIONS= 3.11 3.12 3.13 3.13t 3.14 3.14t 3.15 3.10 2.7 # preferred first
_PYTHON_PORTBRANCH= 3.11 # ${_PYTHON_VERSIONS:[1]}
_PYTHON_BASECMD= ${LOCALBASE}/bin/python
_PYTHON_RELPORTDIR= lang/python
diff --git a/lang/Makefile b/lang/Makefile
index d2fb79408663..e8f75984a63f 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -307,6 +307,7 @@
SUBDIR += python313
SUBDIR += python313t
SUBDIR += python314
+ SUBDIR += python314t
SUBDIR += python315
SUBDIR += qmasm
SUBDIR += quickjs
diff --git a/lang/python314t/Makefile b/lang/python314t/Makefile
new file mode 100644
index 000000000000..6c49f5abad55
--- /dev/null
+++ b/lang/python314t/Makefile
@@ -0,0 +1,12 @@
+CONFIGURE_ARGS+= --disable-gil
+
+THREADFLAG= t
+LDFLAGS+= -lkvm
+
+MASTERDIR= ${.CURDIR}/../python314
+CONFLICTS_INSTALL= python314
+
+# https://github.com/python/cpython/issues/133171
+OPTIONS_EXCLUDE+= JIT
+
+.include "${MASTERDIR}/Makefile"