summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTim Haines <thaines.astro@gmail.com>2020-02-21 12:32:55 -0600
committerGitHub <noreply@github.com>2020-02-21 12:32:55 -0600
commitb399761106bd81c40021a2710c39ae7fafe0ec1d (patch)
tree65e9bb33d646cb2f6864f97ad04c3187b97fd724 /var
parent065cbf1bbe39d75d756654e14f32191d531038fb (diff)
downloadspack-b399761106bd81c40021a2710c39ae7fafe0ec1d.tar.gz
spack-b399761106bd81c40021a2710c39ae7fafe0ec1d.tar.bz2
spack-b399761106bd81c40021a2710c39ae7fafe0ec1d.tar.xz
spack-b399761106bd81c40021a2710c39ae7fafe0ec1d.zip
Add clang compiler (#15152)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/pdt/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pdt/package.py b/var/spack/repos/builtin/packages/pdt/package.py
index 2d099b8dff..b558456dbc 100644
--- a/var/spack/repos/builtin/packages/pdt/package.py
+++ b/var/spack/repos/builtin/packages/pdt/package.py
@@ -45,6 +45,8 @@ class Pdt(AutotoolsPackage):
options.append('-pgCC')
elif self.compiler.name == 'gcc':
options.append('-GNU')
+ elif self.compiler.name == 'clang':
+ options.append('-clang')
else:
raise InstallError('Unknown/unsupported compiler family')