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

Why are compilers in the build requirements when nothing's being compiled? #9

Open
danpetry opened this issue May 2, 2024 · 3 comments
Labels
question Further information is requested

Comments

@danpetry
Copy link

danpetry commented May 2, 2024

Comment:

This also pulls in stuff to the run environment through strong run exports, maybe that's the intention?

@jakirkham
Copy link
Member

To make sure the compiler runtime libraries are getting added

Is there a particular issue you are encountering? If so, could you please share some more details?

@danpetry
Copy link
Author

danpetry commented May 2, 2024

Well, mostly we're just making sure we understand things during review. I guess you found it cleaner to add the compilers to the build requirements rather than list the runtime libs explicitly in run?
I.e. the following libs are run dependencies:

libgcc-ng:     11.2.0-h1234567_1   defaults
libgomp:       11.2.0-h1234567_1   defaults
libstdcxx-ng:  11.2.0-h1234567_1   defaults

We are getting a warning saying that libstdcxx-ng isn't being used during the linking checks.

@jakirkham
Copy link
Member

Yeah that's what we settled on

We can drop the {{ compiler("cxx") }} dependency if it is causing issues. Would you like to submit a PR removing it?

- {{ compiler("cxx") }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants