summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/fftw/package.py
blob: 9adcf1ea0a60ae8fce24821f7587e1ab07bd3e0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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)
class Fftw(Package):
    """Used to test that a few problematic concretization
    cases with the old concretizer have been solved by the
    new ones.
    """
    homepage = "http://www.example.com"
    url = "http://www.example.com/fftw-1.0.tar.gz"

    version(2.0, 'foobar')
    version(1.0, 'foobar')

    variant('mpi', default=False, description='Enable MPI')

    depends_on('mpi', when='+mpi')