public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pcl] f44: Use -g1 to try and reduce memory usage during ARM compile
@ 2026-06-25  5:49 Adam Williamson
  0 siblings, 0 replies; only message in thread
From: Adam Williamson @ 2026-06-25  5:49 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/pcl
Branch : f44
Commit : d9d039cc6df7aa5120c6060b2759196485632a5e
Author : Adam Williamson <awilliam@redhat.com>
Date   : 2018-02-28T12:04:18-08:00
Stats  : +5/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/pcl/c/d9d039cc6df7aa5120c6060b2759196485632a5e?branch=f44

Log:
Use -g1 to try and reduce memory usage during ARM compile

---
diff --git a/pcl.spec b/pcl.spec
index d080345..cb57c7a 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -99,6 +99,11 @@ sed -i "s/, 'sphinxcontrib.doxylink.doxylink'//g" doc/advanced/content/conf.py d
 %build
 mkdir build
 pushd build
+# try to reduce memory usage of compile process (can cause OOM errors
+# esp. on ARM builders)
+%ifarch %{arm}
+%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
+%endif
 %cmake \
   -DWITH_DOCS=ON \
   -DWITH_CUDA=OFF \

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

only message in thread, other threads:[~2026-06-25  5:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25  5:49 [rpms/pcl] f44: Use -g1 to try and reduce memory usage during ARM compile Adam Williamson

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