FleCSI updates (#40087)

* flecsi: update description and flog variant help
* flecsi: use kokkos_cxx when needed
This commit is contained in:
Richard Berger 2023-09-19 14:28:13 -06:00 committed by GitHub
parent d916073397
commit f49c58708b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,9 +12,7 @@ class Flecsi(CMakePackage, CudaPackage, ROCmPackage):
provide a very general set of infrastructure design patterns that can
be specialized and extended to suit the needs of a broad variety of
solver and data requirements. Current support includes multi-dimensional
mesh topology, mesh geometry, and mesh adjacency information,
n-dimensional hashed-tree data structures, graph partitioning
interfaces,and dependency closures.
mesh topology, mesh geometry, and mesh adjacency information.
"""
homepage = "http://flecsi.org/"
@ -63,7 +61,7 @@ class Flecsi(CMakePackage, CudaPackage, ROCmPackage):
multi=False,
)
variant("shared", default=True, description="Build shared libraries")
variant("flog", default=False, description="Enable flog testing")
variant("flog", default=False, description="Enable logging support")
variant("graphviz", default=False, description="Enable GraphViz Support")
variant("doc", default=False, description="Enable documentation")
variant("hdf5", default=True, description="Enable HDF5 Support")
@ -207,6 +205,8 @@ def cmake_args(self):
if "+rocm" in self.spec:
options.append(self.define("CMAKE_CXX_COMPILER", self.spec["hip"].hipcc))
options.append(self.define("CMAKE_C_COMPILER", self.spec["hip"].hipcc))
elif "+kokkos" in self.spec:
options.append(self.define("CMAKE_CXX_COMPILER", self.spec["kokkos"].kokkos_cxx))
else:
# kept for supporing version prior to 2.2
options = [