Add clang compiler (#15152)
This commit is contained in:
parent
065cbf1bbe
commit
b399761106
@ -45,6 +45,8 @@ def configure(self, spec, prefix):
|
|||||||
options.append('-pgCC')
|
options.append('-pgCC')
|
||||||
elif self.compiler.name == 'gcc':
|
elif self.compiler.name == 'gcc':
|
||||||
options.append('-GNU')
|
options.append('-GNU')
|
||||||
|
elif self.compiler.name == 'clang':
|
||||||
|
options.append('-clang')
|
||||||
else:
|
else:
|
||||||
raise InstallError('Unknown/unsupported compiler family')
|
raise InstallError('Unknown/unsupported compiler family')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user