public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libxc] rawhide: Restore 4th derivatives
@ 2026-08-01 14:00 Susi Lehtola
  0 siblings, 0 replies; only message in thread
From: Susi Lehtola @ 2026-08-01 14:00 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libxc
Branch : rawhide
Commit : 4a186b9b8156032f7993c9ef065584ff0f64dd90
Author : Susi Lehtola <jussilehtola@fedoraproject.org>
Date   : 2026-08-01T14:00:51+00:00
Stats  : +6/-13 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/libxc/c/4a186b9b8156032f7993c9ef065584ff0f64dd90?branch=rawhide

Log:
Restore 4th derivatives

---
diff --git a/libxc.spec b/libxc.spec
index d2a4620..f560ae8 100644
--- a/libxc.spec
+++ b/libxc.spec
@@ -3,20 +3,13 @@
 %global _lto_cflags %nil
 %endif
 
-# Turn off 4th derivatives for 32-bit targets
-%ifarch %{arm} %{ix86}
-%global lxcflag -DDISABLE_LXC=ON
-%else
-%global lxcflag -DDISABLE_LXC=OFF
-%endif
-
 # Shared library version
 %global soversion 15
 
 Name:           libxc
 Summary:        Library of exchange and correlation functionals for density-functional theory
 Version:        7.1.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        MPL-2.0
 Source0:        https://gitlab.com/libxc/libxc/-/archive/%{version}/%{name}-%{version}.tar.gz
 URL:            http://www.tddft.org/programs/octopus/wiki/index.php/Libxc
@@ -83,13 +76,9 @@ This package contains the Python3 interface library to libxc.
 sed -i "s|@SOVERSION@|%{soversion}|g;s|@LIBDIR@|%{_libdir}|g" pylibxc/core.py
 
 %build
-# single file cc1 compiles and lto jobs take up to 5G of RSS
-%constrain_build -m 5632
-# TODO: Please submit an issue to upstream (rhbz#2380769)
-export CMAKE_POLICY_VERSION_MINIMUM=3.5
 # Disable var tracking assignments for C sources, since it fails anyhow due to the size of the sources
 export CFLAGS="%{optflags} -fno-var-tracking-assignments"
-%cmake -DDISABLE_VXC=OFF -DDISABLE_FXC=OFF -DDISABLE_KXC=OFF %{lxcflag} -DENABLE_FORTRAN=ON -DENABLE_PYTHON=ON -DENABLE_XHOST=OFF
+%cmake -DMAXORDER=4 -DENABLE_FORTRAN=ON -DENABLE_PYTHON=ON -DENABLE_XHOST=OFF
 %cmake_build
 
 %install
@@ -134,6 +123,10 @@ sed -i 's|includedir=${prefix}/include/|includedir=%{_libdir}/gfortran/modules|g
 %{python3_sitearch}/pylibxc/
 
 %changelog
+* Sat Aug 01 2026 Susi Lehtola <jussilehtola@fedoraproject.org> - 7.1.2-3
+- The 7.1.x updates unwillingly lacked 3rd and 4th derivatives,
+  which are now restored.
+
 * Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 7.1.2-2
 - Rebuilt for Python 3.15.0b4 ABI change
 

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

only message in thread, other threads:[~2026-08-01 14:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-01 14:00 [rpms/libxc] rawhide: Restore 4th derivatives Susi Lehtola

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