diff options
author | Kevin Huck <khuck@cs.uoregon.edu> | 2020-01-21 14:58:38 -0800 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2020-01-24 17:03:52 -0800 |
commit | 33d35768e63b225434ec090fbe419115e616d6b1 (patch) | |
tree | 66d9fe98b854871e17820d39157e5b4bdbde97c5 | |
parent | 6fd2c660225fd4fe72679346926e3d8ed58acb1f (diff) | |
download | spack-33d35768e63b225434ec090fbe419115e616d6b1.tar.gz spack-33d35768e63b225434ec090fbe419115e616d6b1.tar.bz2 spack-33d35768e63b225434ec090fbe419115e616d6b1.tar.xz spack-33d35768e63b225434ec090fbe419115e616d6b1.zip |
Fixing GCC compiler setting for PDT package
-rw-r--r-- | var/spack/repos/builtin/packages/pdt/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pdt/package.py b/var/spack/repos/builtin/packages/pdt/package.py index 6d246a9b70..2d099b8dff 100644 --- a/var/spack/repos/builtin/packages/pdt/package.py +++ b/var/spack/repos/builtin/packages/pdt/package.py @@ -43,6 +43,10 @@ class Pdt(AutotoolsPackage): 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) |