public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Growl <uwsy1059@qq.com>
To: git-commits@fedoraproject.org
Subject: [rpms/cp2k] rawhide: Reintegrate with libxs/libxsmm
Date: Wed, 23 Sep 2026 11:13:57 GMT	[thread overview]
Message-ID: <179016203715.1.4424356274899945640.rpms-cp2k-9704ba22acf0@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-09-23 11:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179016203715.1.4424356274899945640.rpms-cp2k-9704ba22acf0@fedoraproject.org \
    --to=uwsy1059@qq.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox