diff options
author | Annop Wongwathanarat <annop.wongwathanarat@gmail.com> | 2023-03-27 19:08:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 11:08:53 -0700 |
commit | cc4a5282747a1ec5c3abf9131c99f5420cf95133 (patch) | |
tree | cdad82e1138fabfbb950916b736894e8810a5681 | |
parent | efbfe38f63f622ac55fc5b63009c063e38248baf (diff) | |
download | spack-cc4a5282747a1ec5c3abf9131c99f5420cf95133.tar.gz spack-cc4a5282747a1ec5c3abf9131c99f5420cf95133.tar.bz2 spack-cc4a5282747a1ec5c3abf9131c99f5420cf95133.tar.xz spack-cc4a5282747a1ec5c3abf9131c99f5420cf95133.zip |
sw4lite: add linking with libarmflang (#36461)
-rw-r--r-- | var/spack/repos/builtin/packages/sw4lite/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/sw4lite/package.py b/var/spack/repos/builtin/packages/sw4lite/package.py index ba9fde20cf..84b4fa1e34 100644 --- a/var/spack/repos/builtin/packages/sw4lite/package.py +++ b/var/spack/repos/builtin/packages/sw4lite/package.py @@ -79,6 +79,8 @@ class Sw4lite(MakefilePackage, CudaPackage): lapack_blas = spec["lapack"].libs + spec["blas"].libs if spec.satisfies("%gcc"): targets.append("EXTRA_LINK_FLAGS={0} -lgfortran".format(lapack_blas.ld_flags)) + elif spec.satisfies("%arm"): + targets.append("EXTRA_LINK_FLAGS={0} -larmflang".format(lapack_blas.ld_flags)) else: targets.append("EXTRA_LINK_FLAGS={0}".format(lapack_blas.ld_flags)) |