Skip to content

Commit

Permalink
Disable the optional flexblas support as system flexiblas is possibly…
Browse files Browse the repository at this point in the history
… 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 (spack#47514)
  • Loading branch information
Chrismarsh authored Nov 10, 2024
1 parent 33109ce commit 825fd1c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions var/spack/repos/builtin/packages/armadillo/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,9 @@ def cmake_args(self):
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"),
]

0 comments on commit 825fd1c

Please sign in to comment.