diff options
author | Chris Marsh <chrismarsh.c2@gmail.com> | 2024-11-10 11:47:12 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-10 10:47:12 -0700 |
commit | 825fd1ccf6e5b3142ecc01cfb0eb81ff8d58dd68 (patch) | |
tree | 425a59a569a22b3a08d7e66a2f6c04091a79b184 /var | |
parent | 33109ce9b9468d75d82567b5ba0f851cef6b46e1 (diff) | |
download | spack-825fd1ccf6e5b3142ecc01cfb0eb81ff8d58dd68.tar.gz spack-825fd1ccf6e5b3142ecc01cfb0eb81ff8d58dd68.tar.bz2 spack-825fd1ccf6e5b3142ecc01cfb0eb81ff8d58dd68.tar.xz spack-825fd1ccf6e5b3142ecc01cfb0eb81ff8d58dd68.zip |
Disable the optional flexblas support as system flexiblas is possibly used as flexiblas is not a depends and the entire build chain to support using flexibls is not setup. As this does not seem to be needed with the spack blas and lapack, it is easier to disable (#47514)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/armadillo/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/armadillo/package.py b/var/spack/repos/builtin/packages/armadillo/package.py index 0f723296ca..a2b562518a 100644 --- a/var/spack/repos/builtin/packages/armadillo/package.py +++ b/var/spack/repos/builtin/packages/armadillo/package.py @@ -87,4 +87,9 @@ class Armadillo(CMakePackage): self.define("SuperLU_LIBRARY", spec["superlu"].libs.joined(";")), # HDF5 support self.define("DETECT_HDF5", "ON" if spec.satisfies("+hdf5") else "OFF"), + # disable flexiblas support because armadillo will possibly detect system + # flexiblas which causes problems. If this is removed, then SuperLU and ARPACK must + # also link with Flexiblas. As this does not seem to be needed with the spack + # blas and lapack, it is easier to disable + self.define("ALLOW_FLEXIBLAS_LINUX", "OFF"), ] |