public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Susi Lehtola <jussilehtola@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libxc] f44: Restore 4th derivatives
Date: Sat, 01 Aug 2026 14:38:16 GMT [thread overview]
Message-ID: <178559509602.1.12475493614770654965.rpms-libxc-4a186b9b8156@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libxc
Branch : f44
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=f44
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
reply other threads:[~2026-08-01 14:38 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=178559509602.1.12475493614770654965.rpms-libxc-4a186b9b8156@fedoraproject.org \
--to=jussilehtola@fedoraproject.org \
--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