diff --git a/var/spack/repos/builtin/packages/blis/package.py b/var/spack/repos/builtin/packages/blis/package.py index da25f4e2c3..683506906f 100644 --- a/var/spack/repos/builtin/packages/blis/package.py +++ b/var/spack/repos/builtin/packages/blis/package.py @@ -16,6 +16,8 @@ class BlisBase(MakefilePackage): of the library in the 'amdblis' package. """ + maintainers("jeffhammond") + depends_on("python@2.7:2.8,3.4:", type=("build", "run")) variant( @@ -26,6 +28,7 @@ class BlisBase(MakefilePackage): multi=False, ) + variant("ilp64", default=False, description="Force 64-bit Fortran native integers") variant("blas", default=True, description="BLAS compatibility") variant("cblas", default=True, description="CBLAS compatibility") variant( @@ -52,6 +55,11 @@ def configure_args(self): spec = self.spec config_args = ["--enable-threading={0}".format(spec.variants["threads"].value)] + if "+ilp64" in spec: + config_args.append("--blas-int-size=64") + else: + config_args.append("--blas-int-size=32") + if "+cblas" in spec: config_args.append("--enable-cblas") else: