From cb2e80cfb6d955b1ca39af61ffb02fad535c043a Mon Sep 17 00:00:00 2001 From: SY Wang Date: Mon, 8 Jun 2026 23:47:24 +0800 Subject: [PATCH] RPM-build: Temporarily disable SMM backend until LibXS is provided in Fedora repo (#5373) --- tools/fedora/cp2k.spec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tools/fedora/cp2k.spec b/tools/fedora/cp2k.spec index c324b4d162..322ed2629a 100644 --- a/tools/fedora/cp2k.spec +++ b/tools/fedora/cp2k.spec @@ -1,5 +1,5 @@ # libxsmm is designed for x86_64 architectures only, see project's README -%bcond libxsmm %[ "%{_arch}" == "x86_64" ] +# %bcond libxs %[ "%{_arch}" == "x86_64" ] # Disable LTO due to https://bugzilla.redhat.com/show_bug.cgi?id=2243158 %global _lto_cflags %nil @@ -29,9 +29,9 @@ BuildRequires: flexiblas-devel BuildRequires: cmake(DBCSR) BuildRequires: cmake(libint2) BuildRequires: pkgconfig(fftw3) -%if %{with libxsmm} -BuildRequires: pkgconfig(libxsmm) -%endif +# %if %{with libxs} +# BuildRequires: pkgconfig(libxsmm) +# %endif # cmake(Libxc) technically fails # https://github.com/cp2k/cp2k/issues/3767 BuildRequires: libxc-devel @@ -143,11 +143,11 @@ cmake_common_args=( "-DCP2K_USE_LIBINT2:BOOL=ON" "-DCP2K_USE_LIBXC:BOOL=ON" "-DCP2K_USE_SPGLIB:BOOL=ON" - %if %{with libxsmm} - "-DCP2K_USE_LIBXSMM:BOOL=ON" - %else - "-DCP2K_USE_LIBXSMM:BOOL=OFF" - %endif + # %if %{with libxs} + # "-DCP2K_USE_LIBXS:BOOL=ON" + # %else + "-DCP2K_USE_LIBXS:BOOL=OFF" + # %endif ) for mpi in '' mpich openmpi; do if [ -n "$mpi" ]; then