From f8c0d9728d42d6443b745ecec7dfecf833bcb530 Mon Sep 17 00:00:00 2001 From: Bernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com> Date: Fri, 9 Dec 2022 02:10:00 +0100 Subject: [PATCH] intel-mkl: It is only available for x86_64 (#34391) --- var/spack/repos/builtin/packages/intel-mkl/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/intel-mkl/package.py b/var/spack/repos/builtin/packages/intel-mkl/package.py index 6967c8d672..ee83ab5858 100644 --- a/var/spack/repos/builtin/packages/intel-mkl/package.py +++ b/var/spack/repos/builtin/packages/intel-mkl/package.py @@ -139,6 +139,10 @@ class IntelMkl(IntelPackage): depends_on("cpio", type="build") + conflicts("target=ppc64:", msg="intel-mkl is only available for x86_64") + conflicts("target=ppc64le:", msg="intel-mkl is only available for x86_64") + conflicts("target=aarch64:", msg="intel-mkl is only available for x86_64") + variant("shared", default=True, description="Builds shared library") variant("ilp64", default=False, description="64 bit integers") variant(