From 03b864f98670f4182b8c1d7eb9eb006882911ce3 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Mon, 17 Mar 2025 08:47:50 +0100 Subject: [PATCH] ghost: remove outdated comments (#49501) Signed-off-by: Massimiliano Culpo --- var/spack/repos/builtin/packages/ghost/package.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/var/spack/repos/builtin/packages/ghost/package.py b/var/spack/repos/builtin/packages/ghost/package.py index 3c3430a656c..aad7b07720f 100644 --- a/var/spack/repos/builtin/packages/ghost/package.py +++ b/var/spack/repos/builtin/packages/ghost/package.py @@ -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