Update qmd-progress package.py (#34841)

This commit is contained in:
Jean-Luc Fattebert 2023-01-23 17:20:19 -05:00 committed by GitHub
parent 042d305ed0
commit f3e7669400
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,17 +12,21 @@ class QmdProgress(CMakePackage):
This library is focused on the development of general solvers that are
commonly used in quantum chemistry packages."""
homepage = "https://github.com/lanl/qmd-progress"
url = "https://github.com/lanl/qmd-progress/tarball/v1.1.0"
homepage = "https://qmd-progress.readthedocs.io/"
url = "https://github.com/lanl/qmd-progress/archive/refs/tags/v1.2.0.tar.gz"
git = "https://github.com/lanl/qmd-progress.git"
version("develop", branch="master")
version("1.1.0", sha256="2c5eac252067bfb55d715c9ce5de2e4306b20b4273979dda15b4a2f71f69bb0b")
version("1.0.0", sha256="28c99eb80d9a6b09e1d01d61538b3b924850d89c6a8bfb5d3e8b6490be822296")
maintainers = ["jeanlucf22"]
version("master", branch="master")
version("1.2.0", sha256="d41708f0e9c12d0e421a9fa883f8b12478cf4faa7453703143f32c093626638e")
version("1.1.0", sha256="757d2606d7b7f38e7f8f491bf7369b88de55062bae0b12a9928f0a5acae993bd")
version("1.0.0", sha256="eed87e68b4a1533a3ed70c1662feca4ac890b985f3326fc94522c2f71f198fdc")
variant("graphlib", default=False, description="Build with Metis Suppport")
variant("mpi", default=True, description="Build with MPI Support")
variant("shared", default=True, description="Build shared libs")
variant("benchmarks", default=True, description="Build with benchmark drivers")
depends_on("bml")
depends_on("mpi", when="+mpi")
@ -46,5 +50,7 @@ def cmake_args(self):
args.append("-DPROGRESS_GRAPHLIB=yes")
else:
args.append("-DPROGRESS_GRAPHLIB=no")
if "+benchmarks" in spec:
args.append("-DPROGRESS_BENCHMARKS=yes")
return args