FleCSI updates (#40087)
* flecsi: update description and flog variant help * flecsi: use kokkos_cxx when needed
This commit is contained in:
parent
d916073397
commit
f49c58708b
@ -12,9 +12,7 @@ class Flecsi(CMakePackage, CudaPackage, ROCmPackage):
|
|||||||
provide a very general set of infrastructure design patterns that can
|
provide a very general set of infrastructure design patterns that can
|
||||||
be specialized and extended to suit the needs of a broad variety of
|
be specialized and extended to suit the needs of a broad variety of
|
||||||
solver and data requirements. Current support includes multi-dimensional
|
solver and data requirements. Current support includes multi-dimensional
|
||||||
mesh topology, mesh geometry, and mesh adjacency information,
|
mesh topology, mesh geometry, and mesh adjacency information.
|
||||||
n-dimensional hashed-tree data structures, graph partitioning
|
|
||||||
interfaces,and dependency closures.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
homepage = "http://flecsi.org/"
|
homepage = "http://flecsi.org/"
|
||||||
@ -63,7 +61,7 @@ class Flecsi(CMakePackage, CudaPackage, ROCmPackage):
|
|||||||
multi=False,
|
multi=False,
|
||||||
)
|
)
|
||||||
variant("shared", default=True, description="Build shared libraries")
|
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("graphviz", default=False, description="Enable GraphViz Support")
|
||||||
variant("doc", default=False, description="Enable documentation")
|
variant("doc", default=False, description="Enable documentation")
|
||||||
variant("hdf5", default=True, description="Enable HDF5 Support")
|
variant("hdf5", default=True, description="Enable HDF5 Support")
|
||||||
@ -207,6 +205,8 @@ def cmake_args(self):
|
|||||||
if "+rocm" in self.spec:
|
if "+rocm" in self.spec:
|
||||||
options.append(self.define("CMAKE_CXX_COMPILER", self.spec["hip"].hipcc))
|
options.append(self.define("CMAKE_CXX_COMPILER", self.spec["hip"].hipcc))
|
||||||
options.append(self.define("CMAKE_C_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:
|
else:
|
||||||
# kept for supporing version prior to 2.2
|
# kept for supporing version prior to 2.2
|
||||||
options = [
|
options = [
|
||||||
|
Loading…
Reference in New Issue
Block a user