diff --git a/var/spack/repos/builtin/packages/amr-wind/package.py b/var/spack/repos/builtin/packages/amr-wind/package.py index 75a900cab9..55a7e77cf3 100644 --- a/var/spack/repos/builtin/packages/amr-wind/package.py +++ b/var/spack/repos/builtin/packages/amr-wind/package.py @@ -11,6 +11,7 @@ class AmrWind(CMakePackage, CudaPackage, ROCmPackage): incompressible flow sover for wind turbine and wind farm simulations.""" homepage = "https://github.com/Exawind/amr-wind" + url = "https://github.com/Exawind/amr-wind/archive/refs/tags/v1.3.0.tar.gz" git = "https://github.com/Exawind/amr-wind.git" maintainers("jrood-nrel", "psakievich") @@ -20,7 +21,27 @@ class AmrWind(CMakePackage, CudaPackage, ROCmPackage): license("BSD-3-Clause") version("main", branch="main", submodules=True) - version("0.9.0", tag="v0.9.0", submodules=True) + version( + "1.3.0", tag="v1.3.0", commit="f74d7b3801f0492e586d440fac729d9dec595a8b", submodules=True + ) + version( + "1.2.1", tag="v1.2.1", commit="7291737434ca339ecc765355eab88ddd529ff68f", submodules=True + ) + version( + "1.2.0", tag="v1.2.0", commit="db9add5c1c68583a9019cb7ba6776bd580b0ab3e", submodules=True + ) + version( + "1.1.0", tag="v1.1.0", commit="30396bf70f0bd5ac65dd0f7b29757b0e02b22459", submodules=True + ) + version( + "1.0.1", tag="v1.0.1", commit="aa9b7e8e63833e6ac1cc3f60fcba5140416cc139", submodules=True + ) + version( + "1.0.0", tag="v1.0.0", commit="885f4137ce7b9e6c60f48aa5e4c1a54f1418ea9e", submodules=True + ) + version( + "0.9.0", tag="v0.9.0", commit="cf66ebe31fd5f27b76a83451cd22f346e7a67160", submodules=True + ) variant("hypre", default=True, description="Enable Hypre integration") variant("ascent", default=False, description="Enable Ascent integration") @@ -64,7 +85,7 @@ class AmrWind(CMakePackage, CudaPackage, ROCmPackage): depends_on("mpi", when="+mpi") depends_on("netcdf-c", when="+netcdf") - depends_on("openfast+cxx@2.6.0:", when="+openfast") + depends_on("openfast+cxx@2.6.0:3.4.1", when="@0.9.0:1.3.0,main+openfast") depends_on("py-matplotlib", when="+masa") depends_on("py-pandas", when="+masa")