Drop local spack recipe for libxs (#5556)

This commit is contained in:
Matthias Krack 2026-07-08 15:18:04 +02:00 committed by GitHub
parent 345b391c5e
commit 39e6d08f13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 3 additions and 48 deletions

View file

@ -184,7 +184,7 @@ spack:
repos:
builtin:
commit: 28bd93b38dfe519836b2375628ed116e63e70e48 # 2026-07-07
commit: 2b567e37d2cf29b5c1ed598187842d11457f3a8f # 2026-07-08
specs:
# Build tools

View file

@ -92,7 +92,7 @@ spack:
repos:
builtin:
commit: 28bd93b38dfe519836b2375628ed116e63e70e48 # 2026-07-07
commit: 2b567e37d2cf29b5c1ed598187842d11457f3a8f # 2026-07-08
specs:
# Build tools

View file

@ -117,7 +117,7 @@ spack:
repos:
builtin:
commit: 28bd93b38dfe519836b2375628ed116e63e70e48 # 2026-07-07
commit: 2b567e37d2cf29b5c1ed598187842d11457f3a8f # 2026-07-08
specs:
# Build tools

View file

@ -1,45 +0,0 @@
# Copyright Spack Project Developers. See COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack_repo.builtin.build_systems.cmake import CMakePackage
from spack.package import *
class Libxs(CMakePackage):
"""LIBXS is a portable C library providing building blocks for memory
operations, numerics, synchronization, and more -- with a focus on
performance and minimal dependencies. Targets x86-64, AArch64, and RISC-V;
requires only a C89 compiler. Originally developed as part of LIBXSMM."""
homepage = "https://libxs.readthedocs.io/en/latest"
git = "https://github.com/hfp/libxs.git"
url = "https://github.com/hfp/libxs/releases/download/1.0.0/libxs-1.0.0.tar.gz"
maintainers("hfp", "mkrack", "mtaillefumier")
license("BSD-3-Clause", checked_by="mkrack")
version("main", branch="main")
version("1.0.0", sha256="de26f50cb986a2f0e4f92c0eb489d40a44f7e4c5acd22751a6cfa2829dabd04d")
variant("fortran", default=False, description="Build Fortran module interface")
variant("pic", default=True, description="Build position independent code")
variant("shared", default=False, description="Build shared libraries (otherwise static)")
variant("tests", default=False, description="Build unit testsi (requires BLAS)")
depends_on("cmake@3.13:", type="build")
depends_on("c", type="build")
depends_on("fortran", type="build", when="+fortran")
depends_on("blas", when="+tests")
def cmake_args(self):
args = [
self.define_from_variant("LIBXS_FORTRAN", "fortran"),
self.define_from_variant("CMAKE_POSITION_INDEPENDENT_CODE", "pic"),
self.define_from_variant("BUILD_SHARED_LIBS", "shared"),
self.define_from_variant("BUILD_TESTING", "tests"),
]
return args