ghost: remove outdated comments (#49501)

Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
Massimiliano Culpo 2025-03-17 08:47:50 +01:00 committed by GitHub
parent bff4fa2761
commit 03b864f986
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,6 +8,7 @@
class Ghost(CMakePackage, CudaPackage):
"""GHOST: a General, Hybrid and Optimized Sparse Toolkit.
This library provides highly optimized building blocks for implementing
sparse iterative eigenvalue and linear solvers multi- and manycore
clusters and on heterogenous CPU/GPU machines. For an iterative solver
@ -31,8 +32,6 @@ class Ghost(CMakePackage, CudaPackage):
variant("scotch", default=False, description="enable/disable matrix reordering with PT-SCOTCH")
variant("zoltan", default=False, description="enable/disable matrix reordering with Zoltan")
# ###################### Dependencies ##########################
# Everything should be compiled position independent (-fpic)
depends_on("cmake@3.5:", type="build")
depends_on("hwloc")
@ -44,18 +43,14 @@ class Ghost(CMakePackage, CudaPackage):
conflicts("^hwloc@2:")
def cmake_args(self):
spec = self.spec
# note: we require the cblas_include_dir property from the blas
# provider, this is implemented at least for intel-mkl and
# netlib-lapack
args = [
self.define_from_variant("GHOST_ENABLE_MPI", "mpi"),
self.define_from_variant("GHOST_USE_CUDA", "cuda"),
self.define_from_variant("GHOST_USE_SCOTCH", "scotch"),
self.define_from_variant("GHOST_USE_ZOLTAN", "zoltan"),
self.define_from_variant("BUILD_SHARED_LIBS", "shared"),
"-DCBLAS_INCLUDE_DIR:STRING=%s" % format(spec["blas"].headers.directories[0]),
"-DBLAS_LIBRARIES=%s" % spec["blas:c"].libs.joined(";"),
self.define("CBLAS_INCLUDE_DIR", self.spec["blas"].headers.directories[0]),
self.define("BLAS_LIBRARIES", self.spec["blas:c"].libs.joined(";")),
]
return args