Fixing GCC compiler setting for PDT package

This commit is contained in:
Kevin Huck 2020-01-21 14:58:38 -08:00 committed by Peter Scheibel
parent 6fd2c66022
commit 33d35768e6

View file

@ -43,6 +43,10 @@ def configure(self, spec, prefix):
options.append('-icpc')
elif self.compiler.name == 'pgi':
options.append('-pgCC')
elif self.compiler.name == 'gcc':
options.append('-GNU')
else:
raise InstallError('Unknown/unsupported compiler family')
configure(*options)