mirror of
https://github.com/python/cpython.git
synced 2026-01-04 06:22:20 +00:00
[3.13] gh-130834: Fix free-threaded build with JIT for aarch64 linux (#132368)
* [3.13] gh-130834: Fix free-threaded build with JIT for arm * lint
This commit is contained in:
parent
88c1ca9eba
commit
793293dcb9
1 changed files with 6 additions and 1 deletions
|
|
@ -525,7 +525,12 @@ def get_target(host: str) -> _COFF | _ELF | _MachO:
|
|||
args = ["-fms-runtime-lib=dll"]
|
||||
target = _COFF(host, alignment=8, args=args)
|
||||
elif re.fullmatch(r"aarch64-.*-linux-gnu", host):
|
||||
args = ["-fpic"]
|
||||
args = [
|
||||
"-fpic",
|
||||
# On aarch64 Linux, intrinsics were being emitted and this flag
|
||||
# was required to disable them.
|
||||
"-mno-outline-atomics",
|
||||
]
|
||||
target = _ELF(host, alignment=8, args=args)
|
||||
elif re.fullmatch(r"i686-pc-windows-msvc", host):
|
||||
args = ["-DPy_NO_ENABLE_SHARED"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue