public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cp2k] rawhide: Reintegrate with libxs/libxsmm
@ 2026-09-23 11:13 Growl
  0 siblings, 0 replies; only message in thread
From: Growl @ 2026-09-23 11:13 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/cp2k
Branch : rawhide
Commit : 9704ba22acf045dafd14740747db4dc78a5ea582
Author : Growl <uwsy1059@qq.com>
Date   : 2026-09-23T17:28:30+08:00
Stats  : +5/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/cp2k/c/9704ba22acf045dafd14740747db4dc78a5ea582?branch=rawhide

Log:
Reintegrate with libxs/libxsmm

---
diff --git a/cp2k.spec b/cp2k.spec
index c288a5c..86440d4 100644
--- a/cp2k.spec
+++ b/cp2k.spec
@@ -1,6 +1,5 @@
-# libxs is not packaged yet
-# https://bugzilla.redhat.com/show_bug.cgi?id=2493314
-%bcond libxs 0
+# LIBXS is supported on x86_64, aarch64, and riscv64
+%bcond libxs %[ "%{_arch}" == "x86_64" || "%{_arch}" == "aarch64" || "%{_arch}" == "riscv64" ]
 
 # Disable LTO due to https://bugzilla.redhat.com/show_bug.cgi?id=2243158
 %global _lto_cflags %nil
@@ -35,7 +34,8 @@ BuildRequires: cmake(DBCSR)
 BuildRequires: cmake(libint2)
 BuildRequires: pkgconfig(fftw3)
 %if %{with libxs}
-BuildRequires: pkgconfig(libxsmm)
+BuildRequires: cmake(libxs)
+BuildRequires: cmake(libxsmm)
 %endif
 # cmake(Libxc) technically fails
 # https://github.com/cp2k/cp2k/issues/3767
@@ -149,6 +149,7 @@ cmake_common_args=(
   "-DCP2K_USE_LIBXC:BOOL=ON"
   "-DCP2K_USE_SPGLIB:BOOL=ON"
   "-DCP2K_USE_LIBXS:BOOL=%{with libxs}"
+  "-DCP2K_USE_LIBXSMM:BOOL=%{with libxs}"
 )
 for mpi in '' mpich openmpi; do
   if [ -n "$mpi" ]; then

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-23 11:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 11:13 [rpms/cp2k] rawhide: Reintegrate with libxs/libxsmm Growl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox