portage: fix lapack/blas linkage (#13558)

This commit is contained in:
Christoph Junghans 2019-11-04 16:35:28 -07:00 committed by GitHub
parent 0f3ffad430
commit dd7ebcf2d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,6 +51,11 @@ def cmake_args(self):
else: else:
options.append('-DENABLE_MPI=OFF') options.append('-DENABLE_MPI=OFF')
options.append('-DBLA_VENDOR=' + self.spec['blas'].name.upper())
options.append('-DBLAS_LIBRARIES=' + self.spec['blas'].libs.joined())
options.append('-DLAPACK_LIBRARIES=' +
self.spec['lapack'].libs.joined())
options.append("-DLAPACKE_LIBRARY=" + options.append("-DLAPACKE_LIBRARY=" +
self.spec["lapack"].libs.joined(";")) self.spec["lapack"].libs.joined(";"))