summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/fftw/package.py
blob: b1dabe675496743d125eb3c002eb87fbad983218 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2021 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, 'abcdef1234567890abcdef1234567890')
    version(1.0, '1234567890abcdef1234567890abcdef')

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

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