Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 15, 2024

We previously used AC_RUN_IF_ELSE with a short test program to detect
if -latomic is needed, but that requires choosing a specific default
value when cross-compiling because the test program is not run.
Some cross compilation targets like wasm32-emscripten do not support
-latomic, while other cross compilation targets, like
arm-linux-gnueabi require it.
(cherry picked from commit 8d42e2d)

Co-authored-by: Sam Gross colesbury@gmail.com

…ded (pythonGH-125416)

We previously used `AC_RUN_IF_ELSE` with a short test program to detect
if `-latomic` is needed, but that requires choosing a specific default
value when cross-compiling because the test program is not run.
Some cross compilation targets like `wasm32-emscripten` do not support
`-latomic`, while other cross compilation targets, like
`arm-linux-gnueabi` require it.
(cherry picked from commit 8d42e2d)

Co-authored-by: Sam Gross <colesbury@gmail.com>
@vstinner vstinner merged commit 8cf646a into python:3.13 Oct 15, 2024
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants