PDT accepts oneapi as provider of icpc compiler (#25157)

* PDT accepts oneapi as provider of icpc compiler

* Add maintainers section (same as for tau)

* Whitespace formatting fix
This commit is contained in:
wspear 2021-08-15 08:40:24 -07:00 committed by GitHub
parent 2965c501a5
commit 44e251d974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,7 @@ class Pdt(AutotoolsPackage):
through a class library supporting common PDB operations.
"""
maintainers = ['wspear', 'eugeneswalker', 'khuck', 'sameershende']
homepage = "https://www.cs.uoregon.edu/research/pdt/home.php"
url = "http://www.cs.uoregon.edu/research/paracomp/pdtoolkit/Download/pdtoolkit-3.25.1.tar.gz"
@ -45,7 +46,7 @@ def configure(self, spec, prefix):
options = ['-prefix=%s' % prefix]
if self.compiler.name == 'xl':
options.append('-XLC')
elif self.compiler.name == 'intel':
elif self.compiler.name == 'intel' or self.compiler.name == 'oneapi':
options.append('-icpc')
elif self.compiler.name == 'pgi':
options.append('-pgCC')