Skip to content

fix: unset linker for osx-64 and build backends with rattler-build #163

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Hofer-Julian
Copy link
Contributor

@Hofer-Julian Hofer-Julian commented May 21, 2025

@Hofer-Julian Hofer-Julian changed the title Fix/build backends rattler build fix: unset linker for osx-64 and build backends with rattler build May 21, 2025
@Hofer-Julian Hofer-Julian changed the title fix: unset linker for osx-64 and build backends with rattler build fix: unset linker for osx-64 and build backends with rattler-build May 21, 2025
@Hofer-Julian
Copy link
Contributor Author

Hofer-Julian commented May 21, 2025

For some reason this fails locally for me with undefined reference to __libc_csu_init'. On CI it seems to work just fine

Comment on lines +18 to +21
- if: osx and x86_64
then:
# use the default linker for osx-64 as we are hitting a bug with the conda-forge linker
- unset CARGO_TARGET_X86_64_APPLE_DARWIN_LINKER
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the relevant bit

@Hofer-Julian Hofer-Julian marked this pull request as ready for review May 21, 2025 13:50
@Hofer-Julian Hofer-Julian requested a review from wolfv May 21, 2025 13:50
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.

1 participant