amr-wind: add latest versions and correct waves2amr details (#44099)
* add latest versions and correct waves2amr details * update commit associated with v2.1.0
This commit is contained in:
parent
8e9adefcd5
commit
7f3dd38ccc
@ -21,6 +21,12 @@ class AmrWind(CMakePackage, CudaPackage, ROCmPackage):
|
|||||||
license("BSD-3-Clause")
|
license("BSD-3-Clause")
|
||||||
|
|
||||||
version("main", branch="main", submodules=True)
|
version("main", branch="main", submodules=True)
|
||||||
|
version(
|
||||||
|
"2.1.0", tag="v2.1.0", commit="bc787f21deca9239928182e27400133934c62658", submodules=True
|
||||||
|
)
|
||||||
|
version(
|
||||||
|
"2.0.0", tag="v2.0.0", commit="ea448365033fc6bc9ee0febeb369b377f4fd8240", submodules=True
|
||||||
|
)
|
||||||
version(
|
version(
|
||||||
"1.4.0", tag="v1.4.0", commit="bdddf133e41a9b7b4c8ce28f1ea1bebec47678f5", submodules=True
|
"1.4.0", tag="v1.4.0", commit="bdddf133e41a9b7b4c8ce28f1ea1bebec47678f5", submodules=True
|
||||||
)
|
)
|
||||||
@ -91,7 +97,7 @@ class AmrWind(CMakePackage, CudaPackage, ROCmPackage):
|
|||||||
depends_on("openfast@3.5:", when="@2: +openfast")
|
depends_on("openfast@3.5:", when="@2: +openfast")
|
||||||
depends_on("helics@:3.3.2", when="+helics")
|
depends_on("helics@:3.3.2", when="+helics")
|
||||||
depends_on("helics@:3.3.2+mpi", when="+helics+mpi")
|
depends_on("helics@:3.3.2+mpi", when="+helics+mpi")
|
||||||
depends_on("fftw", when="@2: +waves2amr")
|
depends_on("fftw", when="@2.1: +waves2amr")
|
||||||
|
|
||||||
for arch in CudaPackage.cuda_arch_values:
|
for arch in CudaPackage.cuda_arch_values:
|
||||||
depends_on("hypre+cuda cuda_arch=%s" % arch, when="+cuda+hypre cuda_arch=%s" % arch)
|
depends_on("hypre+cuda cuda_arch=%s" % arch, when="+cuda+hypre cuda_arch=%s" % arch)
|
||||||
@ -104,7 +110,7 @@ class AmrWind(CMakePackage, CudaPackage, ROCmPackage):
|
|||||||
|
|
||||||
conflicts("+openmp", when="+cuda")
|
conflicts("+openmp", when="+cuda")
|
||||||
conflicts("+shared", when="+cuda")
|
conflicts("+shared", when="+cuda")
|
||||||
conflicts("@:1.4.0", when="+waves2amr")
|
conflicts("@:2.0", when="+waves2amr")
|
||||||
|
|
||||||
def setup_build_environment(self, env):
|
def setup_build_environment(self, env):
|
||||||
# Avoid compile errors with Intel interprocedural optimization
|
# Avoid compile errors with Intel interprocedural optimization
|
||||||
|
Loading…
Reference in New Issue
Block a user