summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/quantum-espresso/package.py
blob: aa2178b6c85d077cfefdf6726abb8c5f5f9762d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 2013-2022 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 QuantumEspresso(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/qe-1.0.tar.gz"

    version(1.0, '1234567890abcdef1234567890abcdef')

    variant('invino', default=True, description='?')
    variant('veritas', default=True, description='?')

    depends_on('fftw@:1.0')
    depends_on('fftw+mpi', when='+invino')

    depends_on('openblas', when='^fftw@:1')

    depends_on('libelf@0.8.10:')
    depends_on('libelf@:0.8.12', when='+veritas')