diff options
author | marcosmazz <nogomanohay@yahoo.com.ar> | 2022-05-11 22:31:19 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 18:31:19 -0700 |
commit | 363536fd929d2aee280e07780ff6c98498d7be46 (patch) | |
tree | deb19a8e99c7564c476f5c8b4bee27834decfaaf /var | |
parent | d57d343b6d9022a13eb33f6ae6382b6f1b997e0e (diff) | |
download | spack-363536fd929d2aee280e07780ff6c98498d7be46.tar.gz spack-363536fd929d2aee280e07780ff6c98498d7be46.tar.bz2 spack-363536fd929d2aee280e07780ff6c98498d7be46.tar.xz spack-363536fd929d2aee280e07780ff6c98498d7be46.zip |
quantum-espresso: add gipaw variant (#30628)
Co-authored-by: Marcos Mazzini - <mmazzini@serafin.ccad.unc.edu.ar>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/quantum-espresso/package.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/quantum-espresso/package.py b/var/spack/repos/builtin/packages/quantum-espresso/package.py index 5e3c39549f..674cb45fa8 100644 --- a/var/spack/repos/builtin/packages/quantum-espresso/package.py +++ b/var/spack/repos/builtin/packages/quantum-espresso/package.py @@ -190,6 +190,12 @@ class QuantumEspresso(CMakePackage): 'See http://quantum-environ.org/about.html') conflicts('+environ', when='+cmake', msg='environ doesn\'t work with CMake') + variant('gipaw', default=False, + description='Builds Gauge-Including Projector Augmented-Waves executable') + with when('+gipaw'): + conflicts('+cmake', msg='gipaw doesn\'t work with CMake') + conflicts('@:6.3', msg='gipaw standard support available for QE 6.3 or grater version only') + # Dependencies not affected by variants depends_on('blas') depends_on('lapack') @@ -528,6 +534,9 @@ class QuantumEspresso(CMakePackage): else: make('all', parallel=parallel_build_on) + if '+gipaw' in spec: + make('gipaw', parallel=False) + if '+environ' in spec: addsonpatch = Executable('./install/addsonpatch.sh') environpatch = Executable('./Environ/patches/environpatch.sh') |