summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/magma/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/magma/package.py b/var/spack/repos/builtin/packages/magma/package.py
index 636610865b..d1b215aecb 100644
--- a/var/spack/repos/builtin/packages/magma/package.py
+++ b/var/spack/repos/builtin/packages/magma/package.py
@@ -46,8 +46,8 @@ class Magma(CMakePackage):
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