mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 14:15:19 -04:00
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
This commit is contained in:
parent
9d84a8402c
commit
4281113e2d
1 changed files with 1 additions and 10 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue