summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/hpcx-mpi/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/hpcx-mpi/package.py')
-rw-r--r--var/spack/repos/builtin/packages/hpcx-mpi/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/hpcx-mpi/package.py b/var/spack/repos/builtin/packages/hpcx-mpi/package.py
index 95b575d167..54becb1539 100644
--- a/var/spack/repos/builtin/packages/hpcx-mpi/package.py
+++ b/var/spack/repos/builtin/packages/hpcx-mpi/package.py
@@ -19,8 +19,10 @@ class HpcxMpi(Package):
provides("mpi")
+ requires("platform=linux")
+
def install(self, spec, prefix):
- raise InstallError("HPC-X MPI is not buildable, it is for external " "specs only.")
+ raise InstallError("HPC-X MPI is not buildable, it is for external specs only.")
def setup_dependent_package(self, module, dependent_spec):
# This works for AOCC (AMD), Intel and GNU.