diff options
author | lukebroskop <luke.roskop@hpe.com> | 2021-05-17 11:30:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-17 09:30:58 -0700 |
commit | 46e0869631859009704cff9b83a46181af4f72b0 (patch) | |
tree | 3751d6c0815dc16bef422dcca1b79a053b015ffa | |
parent | e34d99694481c75a483ee243428ea70c939f8314 (diff) | |
download | spack-46e0869631859009704cff9b83a46181af4f72b0.tar.gz spack-46e0869631859009704cff9b83a46181af4f72b0.tar.bz2 spack-46e0869631859009704cff9b83a46181af4f72b0.tar.xz spack-46e0869631859009704cff9b83a46181af4f72b0.zip |
CrayPE fixes for the slepc package (#23503)
Use the gold linker for CCE (this may change later)
Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
-rw-r--r-- | var/spack/repos/builtin/packages/slepc/package.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/slepc/package.py b/var/spack/repos/builtin/packages/slepc/package.py index fb431be2a5..f33101df94 100644 --- a/var/spack/repos/builtin/packages/slepc/package.py +++ b/var/spack/repos/builtin/packages/slepc/package.py @@ -95,8 +95,12 @@ class Slepc(Package): # its symlink in spack/stage/ ! os.environ['SLEPC_DIR'] = os.getcwd() - options = [] + if self.spec.satisfies('%cce'): + filter_file(' flags = l', + ' flags = l\n flags += ["-fuse-ld=gold"]', + 'config/package.py') + options = [] if '+arpack' in spec: options.extend([ '--with-arpack-dir=%s' % spec['arpack-ng'].prefix, |