From f3e76694003a6800a185a8f15eae3d1d6a3514aa Mon Sep 17 00:00:00 2001 From: Jean-Luc Fattebert Date: Mon, 23 Jan 2023 17:20:19 -0500 Subject: [PATCH] Update qmd-progress package.py (#34841) --- .../builtin/packages/qmd-progress/package.py | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/var/spack/repos/builtin/packages/qmd-progress/package.py b/var/spack/repos/builtin/packages/qmd-progress/package.py index 0d9390cf63..3e915935d0 100644 --- a/var/spack/repos/builtin/packages/qmd-progress/package.py +++ b/var/spack/repos/builtin/packages/qmd-progress/package.py @@ -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