quantum-espresso: add gipaw variant (#30628)
Co-authored-by: Marcos Mazzini - <mmazzini@serafin.ccad.unc.edu.ar>
This commit is contained in:
parent
d57d343b6d
commit
363536fd92
@ -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 @@ def install(self, spec, prefix):
|
||||
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')
|
||||
|
Loading…
Reference in New Issue
Block a user