diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/sw4lite/package.py')
-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)) |