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

Add clang{,xx} compilers #102

Merged
merged 19 commits into from
Mar 11, 2024
Merged

Add clang{,xx} compilers #102

merged 19 commits into from
Mar 11, 2024

Conversation

h-vetinari
Copy link
Member

Another variant of #101 based on #100 after @isuruf seems to prefer the approach in #100; I'm fine with that, I'd just like to not lose some of the improvements of #101.

@conda-forge-webservices
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@isuruf isuruf merged commit af3deb2 into conda-forge:main Mar 11, 2024
62 checks passed
@isuruf
Copy link
Member

isuruf commented Mar 11, 2024

Thanks

@h-vetinari
Copy link
Member Author

Cool, exciting to see this land! :)

I think that means we can close conda-forge/clang-compiler-activation-feedstock#117... Also, if you have a moment, I'd appreciate your thoughts on how to unify the symlink structure, c.f.:

I actually also wanted to tackle conda-forge/clang-compiler-activation-feedstock#118, but realized that we cannot introduce clang / clangxx outputs without renaming them on the clangdev feedstock first.

Comment on lines +82 to +87
find . -name "*activate-gcc.sh" -exec sed -i.bak "s|@COMPILERS@|cpp gcc gcc-ar gcc-nm gcc-ranlib|g" "{}" \;
find . -name "*activate-g++.sh" -exec sed -i.bak "s|@CXX_COMPILERS@|g++|g" "{}" \;
find . -name "*activate-gcc.sh" -exec sed -i.bak "s|@CC@|${CHOST}-cc|g" "{}" \;
find . -name "*activate-g++.sh" -exec sed -i.bak "s|@CXX@|${CHOST}-c++|g" "{}" \;
find . -name "*activate-gcc.sh" -exec sed -i.bak "s|@CC_FOR_BUILD@|${CBUILD}-clang|g" "{}" \;
find . -name "*activate-g++.sh" -exec sed -i.bak "s|@CXX_FOR_BUILD@|${CBUILD}-clang++|g" "{}" \;
Copy link
Member Author

Choose a reason for hiding this comment

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

I had taken this part over from #100, didn't notice the C&P error, sorry.

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.

2 participants