llvm: fix for building llvm using Cray PE (#12734)
Signed-off-by: Howard Pritchard <hppritcha@gmail.com>
This commit is contained in:
parent
3cd6ca02d2
commit
e7a03d07b6
1 changed files with 4 additions and 2 deletions
|
@ -334,7 +334,9 @@ def cmake_args(self):
|
|||
gcc_prefix = ancestor(self.compiler.cc, 2)
|
||||
cmake_args.append('-DGCC_INSTALL_PREFIX=' + gcc_prefix)
|
||||
|
||||
if spec.satisfies('@4.0.0:') and spec.satisfies('platform=linux'):
|
||||
if spec.satisfies('@4.0.0:'):
|
||||
if spec.satisfies('platform=cray') or \
|
||||
spec.satisfies('platform=linux'):
|
||||
cmake_args.append('-DCMAKE_BUILD_WITH_INSTALL_RPATH=1')
|
||||
|
||||
if '+flang' not in spec:
|
||||
|
|
Loading…
Reference in a new issue