summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/veclibfort/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/veclibfort/package.py b/var/spack/repos/builtin/packages/veclibfort/package.py
index eac366bfa6..22d03f0873 100644
--- a/var/spack/repos/builtin/packages/veclibfort/package.py
+++ b/var/spack/repos/builtin/packages/veclibfort/package.py
@@ -30,6 +30,8 @@ class Veclibfort(Package):
# https://github.com/scipy/scipy/wiki/Dropping-support-for-Accelerate
provides("lapack@3.2.1")
+ requires("platform=darwin", msg="vecLibFort can be installed on macOS only")
+
@property
def libs(self):
shared = True if "+shared" in self.spec else False