openturbine: Update dependencies and configuration in anticipation of beta release (#50355)
* Updated OpenTurbine package to reflect new configuration options
This commit is contained in:
parent
ae2c9d1b99
commit
56f40cc1c8
@ -23,33 +23,62 @@ class Openturbine(CMakePackage, CudaPackage, ROCmPackage):
|
||||
variant("vtk", default=False, description="Enable VTK")
|
||||
variant("adi", default=False, description="Build the OpenFAST ADI external project")
|
||||
variant("rosco", default=False, description="Build the ROSCO controller external project")
|
||||
variant("klu", default=True, description="Build with support for the KLU sparse direct solver")
|
||||
variant(
|
||||
"umfpack",
|
||||
default=False,
|
||||
description="Build with support for the UMFPACK sparse direct solver",
|
||||
)
|
||||
variant(
|
||||
"superlu",
|
||||
default=False,
|
||||
description="Build with support for the SuperLU sparse direct solver",
|
||||
)
|
||||
variant(
|
||||
"superlu-mt",
|
||||
default=False,
|
||||
description="Build with support for the SuperLU_MT sparse direct solver",
|
||||
)
|
||||
variant(
|
||||
"mkl",
|
||||
default=False,
|
||||
description="Build with support for the MKL Pardiso sparse direct solver",
|
||||
)
|
||||
variant(
|
||||
"cusolversp",
|
||||
default=True,
|
||||
when="+cuda",
|
||||
description="Build with support for the cuSolverSP sparse direct solver",
|
||||
)
|
||||
|
||||
depends_on("cxx", type="build")
|
||||
depends_on("netcdf-c")
|
||||
depends_on("yaml-cpp")
|
||||
depends_on("kokkos-kernels+blas+lapack")
|
||||
depends_on("trilinos+amesos2")
|
||||
depends_on("kokkos-kernels")
|
||||
depends_on("lapack")
|
||||
|
||||
depends_on("kokkos@4.3:")
|
||||
depends_on("kokkos-kernels@4.3:")
|
||||
depends_on("trilinos@16:")
|
||||
depends_on("kokkos@4.6:")
|
||||
depends_on("kokkos-kernels@4.6:")
|
||||
|
||||
depends_on("kokkos+cuda+wrapper", when="+cuda")
|
||||
depends_on("kokkos+rocm", when="+rocm")
|
||||
depends_on("kokkos~cuda", when="~cuda")
|
||||
depends_on("kokkos~rocm", when="~rocm")
|
||||
|
||||
depends_on("kokkos-kernels+cuda+cublas+cusparse+cusolver", when="+cuda")
|
||||
depends_on("kokkos-kernels+rocblas+rocsparse+rocsolver", when="+rocm")
|
||||
depends_on("kokkos-kernels+openmp", when="+openmp")
|
||||
depends_on("trilinos+cuda", when="+cuda")
|
||||
depends_on("trilinos+rocm", when="+rocm")
|
||||
depends_on("trilinos+openmp", when="+openmp")
|
||||
depends_on("kokkos-kernels~cuda", when="~cuda")
|
||||
depends_on("kokkos-kernels~openmp", when="~openmp")
|
||||
depends_on("trilinos~cuda", when="~cuda")
|
||||
depends_on("trilinos~rocm", when="~rocm")
|
||||
depends_on("trilinos~openmp", when="~openmp")
|
||||
|
||||
depends_on("suite-sparse", when="+klu")
|
||||
depends_on("suite-sparse", when="+umfpack")
|
||||
depends_on("superlu", when="+superlu")
|
||||
depends_on("superlu-mt", when="+superlu-mt")
|
||||
depends_on("mkl", when="+mkl")
|
||||
|
||||
depends_on("googletest", when="+tests")
|
||||
|
||||
depends_on("vtk", when="+vtk")
|
||||
|
||||
depends_on("fortran", type="build", when="+adi")
|
||||
|
||||
depends_on("fortran", type="build", when="+rosco")
|
||||
@ -57,8 +86,13 @@ class Openturbine(CMakePackage, CudaPackage, ROCmPackage):
|
||||
def cmake_args(self):
|
||||
options = [
|
||||
self.define_from_variant("OpenTurbine_ENABLE_TESTS", "tests"),
|
||||
self.define_from_variant("OpenTurbine_ENABLE_VTK", "vtk"),
|
||||
self.define_from_variant("OpenTurbine_BUILD_OPENFAST_ADI", "adi"),
|
||||
self.define_from_variant("OpenTurbine_BUILD_ROSCO_CONTROLLER", "rosco"),
|
||||
self.define_from_variant("OpenTurbine_ENABLE_KLU", "klu"),
|
||||
self.define_from_variant("OpenTurbine_ENABLE_UMFPACK", "umfpack"),
|
||||
self.define_from_variant("OpenTurbine_ENABLE_SUPERLU", "superlu"),
|
||||
self.define_from_variant("OpenTurbine_ENABLE_SUPERLU_MT", "superlu-mt"),
|
||||
self.define_from_variant("OpenTurbine_ENABLE_MKL", "mkl"),
|
||||
self.define_from_variant("OpenTurbine_ENABLE_CUSOLVERSP", "cusolversp"),
|
||||
]
|
||||
return options
|
||||
|
Loading…
Reference in New Issue
Block a user