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 a command line option that prints the toolchain hierarchy for a given toolchain #4741

Open
ocaisa opened this issue Jan 9, 2025 · 1 comment

Comments

@ocaisa
Copy link
Member

ocaisa commented Jan 9, 2025

Reading easybuilders/easybuild-docs#288, I can see how it would be convenient if people could quickly check what the toolchain hierarchy is for a given toolchain. Something along the lines of

eb --print-toolchain-hierarchy foss,2023a
@ocaisa
Copy link
Member Author

ocaisa commented Jan 9, 2025

Should be as simple as

fosscuda_hierarchy = get_toolchain_hierarchy({'name': 'fosscuda', 'version': '2018a'})
self.assertEqual(fosscuda_hierarchy, [
{'name': 'GCC', 'version': '6.4.0-2.28'},
{'name': 'golf', 'version': '2018a'},
{'name': 'gcccuda', 'version': '2018a'},
{'name': 'golfc', 'version': '2018a'},
{'name': 'gompic', 'version': '2018a'},
{'name': 'fosscuda', 'version': '2018a'},
])

along with some sanity checking for thetoolchain parameters (which probably also exists somewhere)

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

No branches or pull requests

1 participant