1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class MultiProviderMpi(Package):
"""This is a fake MPI package used to test packages providing multiple
virtuals at the same version."""
homepage = "http://www.spack-fake-mpi.org"
url = "http://www.spack-fake-mpi.org/downloads/multi-mpi-1.0.tar.gz"
version('2.0.0', 'foobarbaz')
version('1.10.3', 'foobarbaz')
version('1.10.2', 'foobarbaz')
version('1.10.1', 'foobarbaz')
version('1.10.0', 'foobarbaz')
version('1.8.8', 'foobarbaz')
version('1.6.5', 'foobarbaz')
provides('mpi@3.1', when='@2.0.0')
provides('mpi@3.0', when='@1.10.3')
provides('mpi@3.0', when='@1.10.2')
provides('mpi@3.0', when='@1.10.1')
provides('mpi@3.0', when='@1.10.0')
provides('mpi@3.0', when='@1.8.8')
provides('mpi@2.2', when='@1.6.5')
def install(self, spec, prefix):
pass
|