From 4b3f6cede8679d05ac389aa5a66754f044201136 Mon Sep 17 00:00:00 2001 From: psakievich Date: Mon, 4 Apr 2022 19:15:30 -0600 Subject: [PATCH] Update exawind openfast dependencies (#29884) --- var/spack/repos/builtin/packages/amr-wind/package.py | 2 +- var/spack/repos/builtin/packages/exawind/package.py | 2 +- var/spack/repos/builtin/packages/nalu-wind/package.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/amr-wind/package.py b/var/spack/repos/builtin/packages/amr-wind/package.py index aa67ab555d..a525352121 100644 --- a/var/spack/repos/builtin/packages/amr-wind/package.py +++ b/var/spack/repos/builtin/packages/amr-wind/package.py @@ -47,7 +47,7 @@ class AmrWind(CMakePackage, CudaPackage, ROCmPackage): depends_on('masa', when='+masa') depends_on('mpi', when='+mpi') depends_on('netcdf-c', when='+netcdf') - depends_on('openfast+cxx', when='+openfast') + depends_on('openfast+cxx@2.6.0:', when='+openfast') depends_on('py-matplotlib', when='+masa') depends_on('py-pandas', when='+masa') diff --git a/var/spack/repos/builtin/packages/exawind/package.py b/var/spack/repos/builtin/packages/exawind/package.py index 230979f531..f08c1ed407 100644 --- a/var/spack/repos/builtin/packages/exawind/package.py +++ b/var/spack/repos/builtin/packages/exawind/package.py @@ -22,7 +22,7 @@ class Exawind(CMakePackage): depends_on('tioga+shared~nodegid') depends_on('nalu-wind+hypre+openfast+tioga+wind-utils') depends_on('amr-wind+hypre+mpi+netcdf+openfast') - depends_on('openfast+cxx+shared@2.6.0') + depends_on('openfast+cxx+shared@2.6.0:') depends_on('yaml-cpp@0.6:') def cmake_args(self): diff --git a/var/spack/repos/builtin/packages/nalu-wind/package.py b/var/spack/repos/builtin/packages/nalu-wind/package.py index 6e7569470d..1f503df7c0 100644 --- a/var/spack/repos/builtin/packages/nalu-wind/package.py +++ b/var/spack/repos/builtin/packages/nalu-wind/package.py @@ -57,7 +57,7 @@ class NaluWind(CMakePackage, CudaPackage): # Cannot build Trilinos as a shared library with STK on Darwin # https://github.com/trilinos/Trilinos/issues/2994 depends_on('trilinos~shared', when=(sys.platform == 'darwin')) - depends_on('openfast@2.6.0 +cxx', when='+openfast') + depends_on('openfast@2.6.0: +cxx', when='+openfast') depends_on('tioga@master:', when='+tioga') depends_on('hypre@2.18.2: ~int64+mpi~superlu-dist', when='+hypre') depends_on('kokkos-nvcc-wrapper', type='build', when='+cuda')