From 754408ca2b170e5c70980783900515d248bfd079 Mon Sep 17 00:00:00 2001 From: "Marc T. Henry de Frahan" Date: Thu, 7 Nov 2024 13:21:38 -0700 Subject: Add fast farm variant to openfast (#47486) --- var/spack/repos/builtin/packages/openfast/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/openfast/package.py b/var/spack/repos/builtin/packages/openfast/package.py index 3d768d3c6f..2fd4344650 100644 --- a/var/spack/repos/builtin/packages/openfast/package.py +++ b/var/spack/repos/builtin/packages/openfast/package.py @@ -50,6 +50,7 @@ class Openfast(CMakePackage): variant("openmp", default=False, description="Enable OpenMP support") variant("netcdf", default=False, description="Enable NetCDF support") variant("rosco", default=False, description="Build ROSCO controller") + variant("fastfarm", default=False, description="Enable FAST.Farm capabilities") depends_on("blas") depends_on("lapack") @@ -78,6 +79,7 @@ class Openfast(CMakePackage): self.define_from_variant("BUILD_OPENFAST_CPP_API", "cxx"), self.define_from_variant("BUILD_OPENFAST_CPP_DRIVER", "cxx"), self.define_from_variant("CMAKE_POSITION_INDEPENDENT_CODE", "pic"), + self.define_from_variant("BUILD_FASTFARM", "fastfarm"), ] ) -- cgit v1.2.3-70-g09d2