summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc T. Henry de Frahan <marc.henrydefrahan@nrel.gov>2024-11-07 13:21:38 -0700
committerGitHub <noreply@github.com>2024-11-07 13:21:38 -0700
commit754408ca2b170e5c70980783900515d248bfd079 (patch)
tree53f631ee9fb890ec86b7e6f38887b3ae1b17fa23
parent0d817878ea25ecd2e0c7a5754f2ac877a1da7c59 (diff)
downloadspack-754408ca2b170e5c70980783900515d248bfd079.tar.gz
spack-754408ca2b170e5c70980783900515d248bfd079.tar.bz2
spack-754408ca2b170e5c70980783900515d248bfd079.tar.xz
spack-754408ca2b170e5c70980783900515d248bfd079.zip
Add fast farm variant to openfast (#47486)
-rw-r--r--var/spack/repos/builtin/packages/openfast/package.py2
1 files changed, 2 insertions, 0 deletions
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"),
]
)