public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/psi4] rawhide: Don't strip the binaries
@ 2026-07-29 14:29 Susi Lehtola
0 siblings, 0 replies; only message in thread
From: Susi Lehtola @ 2026-07-29 14:29 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-29 14:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29 14:29 [rpms/psi4] rawhide: Don't strip the binaries Susi Lehtola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox