What's new: https://docs.python.org/3/whatsnew/3.13.html Most notably, introduce free-threaded mode. As this mode changes the ABI, the entire distribution lives in a separate hierarchy, and thus a new child port (lang/python313t) and FLAVOR (py313t) are introduced. Co-authored-by: vishwin PR: 274671 Differential Revision: https://reviews.freebsd.org/D49680
13 lines
478 B
Python
13 lines
478 B
Python
--- Tools/jit/_targets.py.orig 2025-04-08 13:54:08 UTC
|
|
+++ Tools/jit/_targets.py
|
|
@@ -538,6 +538,9 @@ def get_target(host: str) -> _COFF | _ELF | _MachO:
|
|
elif re.fullmatch(r"x86_64-.*-linux-gnu", host):
|
|
args = ["-fpic"]
|
|
target = _ELF(host, args=args, ghccc=True)
|
|
+ elif re.fullmatch(r"amd64-.*-freebsd.*", host):
|
|
+ args = ["-fpic"]
|
|
+ target = _ELF(host, args=args, ghccc=True)
|
|
else:
|
|
raise ValueError(host)
|
|
return target
|