Skip to content

Commit 084340a

Browse files
authored
Merge pull request #4051 from pavelToman/patch-12
update ELPA easyblock to make it aware of NVHPC toolchain compiler
2 parents bcdeb6d + 24543c7 commit 084340a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

easybuild/easyblocks/e/elpa.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
from easybuild.toolchains.compiler.gcc import TC_CONSTANT_GCC
3939
from easybuild.toolchains.compiler.inteliccifort import TC_CONSTANT_INTELCOMP
4040
from easybuild.toolchains.compiler.llvm_compilers import TC_CONSTANT_LLVM
41+
from easybuild.toolchains.compiler.nvidia_compilers import TC_CONSTANT_NVHPC
4142
from easybuild.tools.build_log import EasyBuildError
4243
from easybuild.tools.config import build_option
4344
from easybuild.tools.filetools import apply_regex_substitutions
@@ -218,6 +219,7 @@ def configure_step(self):
218219
TC_CONSTANT_GCC: 'cpp',
219220
TC_CONSTANT_INTELCOMP: 'cpp',
220221
TC_CONSTANT_LLVM: 'clang -E',
222+
TC_CONSTANT_NVHPC: 'nvc -E',
221223
}
222224
comp_fam = self.toolchain.comp_family()
223225
if comp_fam in cpp_dict:

0 commit comments

Comments
 (0)