diff options
author | Nicolas Richart <nicolas.richart@epfl.ch> | 2016-01-27 10:54:41 +0100 |
---|---|---|
committer | Nicolas Richart <nicolas.richart@epfl.ch> | 2016-01-27 10:54:41 +0100 |
commit | f1d8f30342f21d772b2bf4fc76a9a8b262e479c5 (patch) | |
tree | 25e855ea52d6d9d695afe60239f625c1583b938c | |
parent | 90750f59c1acccb02332a4041d26def94fde7725 (diff) | |
download | spack-f1d8f30342f21d772b2bf4fc76a9a8b262e479c5.tar.gz spack-f1d8f30342f21d772b2bf4fc76a9a8b262e479c5.tar.bz2 spack-f1d8f30342f21d772b2bf4fc76a9a8b262e479c5.tar.xz spack-f1d8f30342f21d772b2bf4fc76a9a8b262e479c5.zip |
Bug fix: precedence in % operator seems to change depending in the python version
-rw-r--r-- | var/spack/repos/builtin/packages/netlib-scalapack/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/netlib-scalapack/package.py b/var/spack/repos/builtin/packages/netlib-scalapack/package.py index 5be91c4a40..22d538560e 100644 --- a/var/spack/repos/builtin/packages/netlib-scalapack/package.py +++ b/var/spack/repos/builtin/packages/netlib-scalapack/package.py @@ -22,8 +22,8 @@ class NetlibScalapack(Package): def install(self, spec, prefix): options = [ - "-DBUILD_SHARED_LIBS:BOOL=%s" % 'ON' if '+shared' in spec else 'OFF', - "-DBUILD_STATIC_LIBS:BOOL=%s" % 'OFF' if '+shared' in spec else 'ON', + "-DBUILD_SHARED_LIBS:BOOL=%s" % ('ON' if '+shared' in spec else 'OFF'), + "-DBUILD_STATIC_LIBS:BOOL=%s" % ('OFF' if '+shared' in spec else 'ON'), "-DUSE_OPTIMIZED_LAPACK_BLAS:BOOL=ON", # forces scalapack to use find_package(LAPACK) ] |