From 33d35768e63b225434ec090fbe419115e616d6b1 Mon Sep 17 00:00:00 2001 From: Kevin Huck Date: Tue, 21 Jan 2020 14:58:38 -0800 Subject: [PATCH] Fixing GCC compiler setting for PDT package --- var/spack/repos/builtin/packages/pdt/package.py | 4 ++++ 1 file changed, 4 insertions(+) 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 @@ 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)