From 4281113e2d08eb311fb720cb3d406c77a5dcae3b Mon Sep 17 00:00:00 2001 From: Matthias Krack Date: Fri, 4 Apr 2025 15:35:31 +0200 Subject: [PATCH] Sync spack build recipe for libxsmm with spack database Reverts some changes which did not solve the persisting failure of the grid_unittest using a Spack build --- tools/spack/cp2k/packages/libxsmm/package.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tools/spack/cp2k/packages/libxsmm/package.py b/tools/spack/cp2k/packages/libxsmm/package.py index 621da21a29..48ea5065ac 100644 --- a/tools/spack/cp2k/packages/libxsmm/package.py +++ b/tools/spack/cp2k/packages/libxsmm/package.py @@ -190,12 +190,6 @@ class Libxsmm(MakefilePackage): when="@1.17:", description="Max. JIT buffer size increased to 256 KiB", ) - variant( - "wrap", - default="0", - description="Determines the kind of routines called for intercepted GEMMs", - values=lambda i: isinstance(i, int), - ) depends_on("c", type="build") # generated depends_on("cxx", type="build") # generated @@ -234,8 +228,7 @@ class Libxsmm(MakefilePackage): if spec.target.family == "aarch64": make_args += ["PLATFORM=1"] else: - make_args += ["PLATFORM=0"] - make_args += ["SYM=0"] + make_args += ["SYM=1"] # JIT (AVX and later) makes MNK, M, N, or K spec. superfluous # make_args += ['MNK=1 4 5 6 8 9 13 16 17 22 23 24 26 32'] @@ -254,8 +247,6 @@ class Libxsmm(MakefilePackage): if spec.satisfies("+shared"): make(*(make_args + ["STATIC=0"])) - else: - make(*(make_args + ["STATIC=1"])) # builds static libraries by default make(*make_args)