summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/quantum-espresso/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin.mock/packages/quantum-espresso/package.py')
-rw-r--r--var/spack/repos/builtin.mock/packages/quantum-espresso/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin.mock/packages/quantum-espresso/package.py b/var/spack/repos/builtin.mock/packages/quantum-espresso/package.py
new file mode 100644
index 0000000000..61287ab7c8
--- /dev/null
+++ b/var/spack/repos/builtin.mock/packages/quantum-espresso/package.py
@@ -0,0 +1,24 @@
+# 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 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, 'foobar')
+
+ 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')