Skip to content

Commit 8d0dc88

Browse files
committed
PGI: Use GCCcore as subtoolchain, as suggested by @damianam, similar to iccifort.py.
1 parent a3f9af3 commit 8d0dc88

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

easybuild/toolchains/pgi.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@
3232
"""
3333

3434
from easybuild.toolchains.compiler.pgi import Pgi
35+
from easybuild.toolchains.gcccore import GCCcore
3536

3637

3738
class PgiToolchain(Pgi):
3839
"""Simple toolchain with just the PGI compilers."""
3940
NAME = 'PGI'
41+
# use GCCcore as subtoolchain rather than GCC, since two 'real' compiler-only toolchains don't mix well,
42+
# in particular in a hierarchical module naming scheme
43+
SUBTOOLCHAIN = GCCcore.NAME

0 commit comments

Comments
 (0)