Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.13] gh-125269: Use AC_LINK_IF_ELSE to detect if -latomic is needed (GH-125416) #125493

Merged
merged 1 commit into from
Oct 15, 2024

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 [email protected]

…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 <[email protected]>
@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