summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/fftw/package.py
blob: e4d63aa93ea0c4e935587f5950b76b3f87fe59cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2024 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.package import *


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", md5="abcdef1234567890abcdef1234567890")
    version("1.0", md5="1234567890abcdef1234567890abcdef")

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

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