octopus: add etsf-io variant (#36490)
This commit is contained in:
parent
e356390575
commit
709c5c4844
1 changed files with 4 additions and 0 deletions
|
@ -59,6 +59,7 @@ class Octopus(AutotoolsPackage, CudaPackage):
|
|||
variant("libvdwxc", default=False, description="Compile with libvdwxc")
|
||||
variant("libyaml", default=False, description="Compile with libyaml")
|
||||
variant("elpa", default=False, description="Compile with ELPA")
|
||||
variant("etsf-io", default=False, description="Compile with etsf-io")
|
||||
variant("nlopt", default=False, description="Compile with nlopt")
|
||||
variant(
|
||||
"pnfft",
|
||||
|
@ -100,6 +101,7 @@ class Octopus(AutotoolsPackage, CudaPackage):
|
|||
depends_on("elpa~mpi", when="+elpa")
|
||||
depends_on("netcdf-fortran ^netcdf-c~~mpi", when="+netcdf")
|
||||
|
||||
depends_on("etsf-io", when="+etsf-io")
|
||||
depends_on("py-numpy", when="+python")
|
||||
depends_on("py-mpi4py", when="+python")
|
||||
depends_on("metis@5:+int64", when="+metis")
|
||||
|
@ -225,6 +227,8 @@ def configure_args(self):
|
|||
args.append("--enable-python")
|
||||
|
||||
# --with-etsf-io-prefix=
|
||||
if "+etsf-io" in spec:
|
||||
args.append("--with-etsf-io-prefix=%s" % spec["etsf-io"].prefix)
|
||||
# --with-sparskit=${prefix}/lib/libskit.a
|
||||
# --with-pfft-prefix=${prefix} --with-mpifftw-prefix=${prefix}
|
||||
# --with-berkeleygw-prefix=${prefix}
|
||||
|
|
Loading…
Reference in a new issue