Skip to content

Commit 97c8dd3

Browse files
bartoldemanlexming
andauthored
Improve comment (@lexming)
Co-authored-by: Alex Domingo <alex.domingo.toro@vub.be>
1 parent 951d00b commit 97c8dd3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

easybuild/toolchains/nvhpc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ class NVHPC(NvidiaCompilersToolchain, NVHPCX, NVBLAS, NVScaLAPACK):
4848
def __new__(cls, *args, **kwargs):
4949
tcdepnames = {dep['name'] for dep in kwargs.get('tcdeps', [])}
5050
if 'GCCcore' in tcdepnames:
51-
# The newer higher level toolchains depend on nvidia-compilers
52-
# instead of GCCcore
51+
# legacy NVHPC toolchains are compiler-only toolchains
52+
# on top of GCCcore, switch to corresponding class
5353
return NVHPCToolchain(*args, **kwargs)
5454
else:
5555
return super().__new__(cls)

0 commit comments

Comments
 (0)