From 5e4e72ddd265b6c51602ffa7d0e22937d865abb6 Mon Sep 17 00:00:00 2001 From: Henrik Stooss Date: Wed, 14 Feb 2024 11:18:04 +0100 Subject: [PATCH] veclibfort: explicitly add platform=darwin as requirement (#42664) --- var/spack/repos/builtin/packages/veclibfort/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/veclibfort/package.py b/var/spack/repos/builtin/packages/veclibfort/package.py index eac366bfa65512..22d03f08735378 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