public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/pcl] f44: Disable fat-lto-objects to reduce memory usage
Date: Thu, 25 Jun 2026 05:50:14 GMT [thread overview]
Message-ID: <178236661410.1.12468407922228152114.rpms-pcl-d115054c29fb@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/pcl
Branch : f44
Commit : d115054c29fb244c1ad0d161c1fb3f6e60677a84
Author : Björn Esser <besser82@fedoraproject.org>
Date : 2021-08-20T17:08:11+02:00
Stats : +6/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pcl/c/d115054c29fb244c1ad0d161c1fb3f6e60677a84?branch=f44
Log:
Disable fat-lto-objects to reduce memory usage
Doing so will not hurt as we are not shipping any static libraries
---
diff --git a/pcl.spec b/pcl.spec
index a05375e..193093e 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -104,7 +104,7 @@ sed -i 's|@PCL_SOURCE_DIR@/build|@PCL_SOURCE_DIR@/%{_vpath_builddir}|' doc/doxyg
%build
# try to reduce memory usage of compile process (can cause OOM errors
# esp. on ARM builders)
-%global optflags %(echo %{optflags} | sed -e 's/-g /-g1 /' -e 's/-pipe //')
+%global optflags %(echo %{optflags} | sed -e 's/-g /-g1 /' -e 's/-pipe //' -e's/-ffat-lto-objects/-fno-fat-lto-objects/')
%cmake \
-DCMAKE_BUILD_TYPE=None \
@@ -191,7 +191,11 @@ mv $RPM_BUILD_ROOT%{_datadir}/%{name}-*/Modules $RPM_BUILD_ROOT%{_libdir}/cmake/
%doc %{_vpath_builddir}/doc/advanced/advanced
%changelog
-* Mon Aug 17 2021 Rich Mattes <richmattes@gmail.com> - 1.12.0-1
+* Fri Aug 20 2021 Björn Esser <besser82@fedoraproject.org> - 1.12.0-1
+- Disable fat-lto-objects to reduce memory usage
+ Doing so will not hurt as we are not shipping any static libraries
+
+* Tue Aug 17 2021 Rich Mattes <richmattes@gmail.com> - 1.12.0-1
- Drop "oom" patch to resolve multiple definition error and fix FTBFS (rhbz#1992893)
- Enable LTO and add library versions in files section
reply other threads:[~2026-06-25 5:50 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=178236661410.1.12468407922228152114.rpms-pcl-d115054c29fb@fedoraproject.org \
--to=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