Magma: fix prefix (#12220)
`prefix` is not available in `cmake_args` method, use `self.prefix`. Fixes #12214.
This commit is contained in:
parent
8ec9ebc92f
commit
5c970613b6
@ -46,8 +46,8 @@ def cmake_args(self):
|
||||
options = []
|
||||
|
||||
options.extend([
|
||||
'-DCMAKE_INSTALL_PREFIX=%s' % prefix,
|
||||
'-DCMAKE_INSTALL_NAME_DIR:PATH=%s/lib' % prefix,
|
||||
'-DCMAKE_INSTALL_PREFIX=%s' % self.prefix,
|
||||
'-DCMAKE_INSTALL_NAME_DIR:PATH=%s/lib' % self.prefix,
|
||||
'-DBLAS_LIBRARIES=%s' % spec['blas'].libs.joined(';'),
|
||||
# As of MAGMA v2.3.0, CMakeLists.txt does not use the variable
|
||||
# BLAS_LIBRARIES, but only LAPACK_LIBRARIES, so we need to
|
||||
|
Loading…
Reference in New Issue
Block a user