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/psi4] rawhide: Don't strip the binaries
Date: Wed, 29 Jul 2026 14:29:21 GMT [thread overview]
Message-ID: <178533536178.1.7612799322085414928.rpms-psi4-5671b720e247@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/psi4
Branch : rawhide
Commit : 5671b720e247e47b7c9acc168c9373445cb3a6c4
Author : Susi Lehtola <jussilehtola@fedoraproject.org>
Date : 2026-07-29T14:29:17+00:00
Stats : +17/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/psi4/c/5671b720e247e47b7c9acc168c9373445cb3a6c4?branch=rawhide
Log:
Don't strip the binaries
---
diff --git a/psi4-1.11-nostrip.patch b/psi4-1.11-nostrip.patch
new file mode 100644
index 0000000..a7b565f
--- /dev/null
+++ b/psi4-1.11-nostrip.patch
@@ -0,0 +1,14 @@
+diff -up psi4-1.11/psi4/src/CMakeLists.txt.nostrip psi4-1.11/psi4/src/CMakeLists.txt
+--- psi4-1.11/psi4/src/CMakeLists.txt.nostrip 2026-06-30 02:22:36.000000000 +0000
++++ psi4-1.11/psi4/src/CMakeLists.txt 2026-07-29 14:28:14.080446747 +0000
+@@ -23,10 +23,6 @@ target_link_libraries(core
+ pybind11::windows_extras
+ )
+ pybind11_extension(core)
+-if(NOT MSVC AND NOT ${CMAKE_BUILD_TYPE} MATCHES Debug|RelWithDebInfo)
+- # Strip unnecessary sections of the binary on Linux/macOS
+- pybind11_strip(core)
+-endif()
+ set_target_properties(core
+ PROPERTIES
+ CXX_VISIBILITY_PRESET "hidden"
diff --git a/psi4.spec b/psi4.spec
index 5c6608a..29c7466 100644
--- a/psi4.spec
+++ b/psi4.spec
@@ -26,6 +26,8 @@ Source0: https://github.com/psi4/psi4/archive/v%{version}/psi4-%{version}
Patch0: 3389_new.patch
# Patch for libxc 7.1.x compatibility
Patch1: https://github.com/psi4/psi4/pull/3464.patch
+# Don't strip the debuginfo
+Patch2: psi4-1.11-nostrip.patch
BuildRequires: cmake
BuildRequires: bison-devel
@@ -119,6 +121,7 @@ and the quadrature grids.
%setup -q
%patch -P 0 -p 1 -b .noqcmb
%patch -P 1 -p 1 -b .libxc710
+%patch -P 2 -p 1 -b .nostrip
# Prevent versioner from seeing any top-level git directories
sed -i 's/if is_git_repo(cwd=cwd, extraneous_toplevel_patterns=.*):/if False:/' psi4/versioner.py
reply other threads:[~2026-07-29 14:29 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=178533536178.1.7612799322085414928.rpms-psi4-5671b720e247@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