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

feat: Add -latomic link arg for armv7l machines #823

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

matthewfeickert
Copy link
Member

Resolves #822

Required if building on 32-bit Raspberry Pi. c.f. piwheels/packages#341

Note from the setuptools v65.6.3 docs

The linker options appear in the command line in the following order:

  • first, the options provided by environment variables and sysconfig variables,
  • then, a -L option for each element of Extension.library_dirs,
  • then, a linker-specific option like -Wl,-rpath for each element of Extension.runtime_library_dirs,
  • finally, the options provided by Extension.extra_link_args.

Here extra_link_args is used as this seems the most straightforward.

@matthewfeickert matthewfeickert self-assigned this Jan 11, 2023
@github-actions github-actions bot added the needs changelog Might need a changelog entry label Jan 11, 2023
* Required if building on 32-bit Raspberry Pi.
  c.f. piwheels/packages#341

  Note from the setuptools v65.6.3 docs
  https://setuptools.pypa.io/en/stable/userguide/ext_modules.html#compiler-and-linker-options

  > The linker options appear in the command line in the following order:
  >
  > * first, the options provided by environment variables and sysconfig variables,
  > * then, a -L option for each element of Extension.library_dirs,
  > * then, a linker-specific option like -Wl,-rpath for each element of Extension.runtime_library_dirs,
  > * finally, the options provided by Extension.extra_link_args.

  Here extra_link_args is used as this seems the most straightforward.
@henryiii henryiii force-pushed the feat/add-support-for-armv7l branch from e2e78cf to 93d1b7d Compare January 20, 2023 21:28
@matthewfeickert
Copy link
Member Author

Gentle ping to @henryiii on this, as this had fallen off of my radar and so I assume yours as well.

@henryiii henryiii merged commit d4b0bf6 into develop Jan 30, 2023
@henryiii henryiii deleted the feat/add-support-for-armv7l branch January 30, 2023 22:15
@henryiii henryiii removed the needs changelog Might need a changelog entry label Sep 12, 2023
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.

[FEAT]: Add -latomic link arg for armv7l machines
2 participants