Skip to content

filter out NVHPC toolchains that share name from the toolchain hierarchy#5140

Merged
ocaisa merged 2 commits intoeasybuilders:developfrom
lexming:fix-nvhpc-subtoolchains
Mar 5, 2026
Merged

filter out NVHPC toolchains that share name from the toolchain hierarchy#5140
ocaisa merged 2 commits intoeasybuilders:developfrom
lexming:fix-nvhpc-subtoolchains

Conversation

@lexming
Copy link
Copy Markdown
Contributor

@lexming lexming commented Feb 25, 2026

Fixes CI in easybuild-easyconfigs.
See easybuilders/easybuild-easyconfigs#25125

Wrong toolchain hierarchy returned by get_toolchain_hierarchy in develop:

* NVHPC/22.7-CUDA-11.7.0: [
    {'name': 'GCCcore', 'version': '11.3.0'},
    {'name': 'NVHPC', 'version': '22.7-CUDA-11.7.0'},
  ]
* NVHPC/24.9-CUDA-12.6.0: [
    {'name': 'GCCcore', 'version': '13.3.0'},
    {'name': 'NVHPC', 'version': '24.9-CUDA-12.6.0'},
  ]
* NVHPC/25.1: [
    {'name': 'GCCcore', 'version': '13.3.0'},
    {'name': 'NVHPC', 'version': '25.1'},
  ]
* NVHPC/25.3-CUDA-12.8.0: [
    {'name': 'GCCcore', 'version': '14.2.0'},
    {'name': 'NVHPC', 'version': '25.3-CUDA-12.8.0'},
  ]

Correct toolchain hierarchy returned by get_toolchain_hierarchy:

* NVHPC/22.7-CUDA-11.7.0: [
    {'name': 'GCCcore', 'version': '11.3.0'},
    {'name': 'NVHPC', 'version': '22.7-CUDA-11.7.0'},
  ]
* NVHPC/24.9-CUDA-12.6.0: [
    {'name': 'GCCcore', 'version': '13.3.0'},
    {'name': 'NVHPC', 'version': '24.9-CUDA-12.6.0'},
  ]
* NVHPC/25.1: [
    {'name': 'GCCcore', 'version': '13.3.0'},
    {'name': 'nvidia-compilers', 'version': '25.1'},
    {'name': 'NVHPC', 'version': '25.1'},
  ]
* NVHPC/25.3-CUDA-12.8.0 hierarchy: [
    {'name': 'GCCcore', 'version': '14.2.0'},
    {'name': 'nvidia-compilers', 'version': '25.3-CUDA-12.8.0'},
    {'name': 'NVHPC', 'version': '25.3-CUDA-12.8.0'},
  ]

Copy link
Copy Markdown
Member

@ocaisa ocaisa left a comment

Choose a reason for hiding this comment

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

LGTM

@ocaisa
Copy link
Copy Markdown
Member

ocaisa commented Mar 5, 2026

Going in, thanks @lexming

@ocaisa ocaisa merged commit 3c7b64d into easybuilders:develop Mar 5, 2026
40 checks passed
@lexming lexming deleted the fix-nvhpc-subtoolchains branch March 5, 2026 14:27
@boegel boegel changed the title filter out NVHPC toolchains that share name from the toolchain hirearchy filter out NVHPC toolchains that share name from the toolchain hierarchy Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants