Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-efl: further attempt to reduce compiler memory usage
@ 2019-10-20 20:07 voidlinux-github
  2019-10-20 20:14 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-20 20:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

There is a new pull request by q66 against master on the void-packages repository

https://github.com/void-ppc/void-packages py3-efl
https://github.com/void-linux/void-packages/pull/15650

python3-efl: further attempt to reduce compiler memory usage


A patch file from https://github.com/void-linux/void-packages/pull/15650.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-py3-efl-15650.patch --]
[-- Type: text/x-diff, Size: 1004 bytes --]

From 659674e7f132f0420440ae002a8ab5d682a26f2b Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Sun, 20 Oct 2019 22:06:35 +0200
Subject: [PATCH] python3-efl: further attempt to reduce compiler memory usage

---
 srcpkgs/python3-efl/template | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-efl/template b/srcpkgs/python3-efl/template
index 3a3fa070478..157b2fe58c5 100644
--- a/srcpkgs/python3-efl/template
+++ b/srcpkgs/python3-efl/template
@@ -15,7 +15,10 @@ homepage="http://enlightenment.org"
 distfiles="http://download.enlightenment.org/rel/bindings/python/python-efl-${version}.tar.xz"
 checksum=2bdef4153e3df2ed3edef9f1ebb4554054405425247a9fabb3c784b48232d69b
 
-# ETOOBIG
-if [ "$XBPS_WORDSIZE" = "32" ]; then
-	LDFLAGS="-Wl,--no-keep-memory"
-fi
+pre_build() {
+	# The compiler requires a lot of memory here
+	if [ "$XBPS_WORDSIZE" = "32" ]; then
+		export CFLAGS="${CFLAGS/-g/-g1}"
+		export LDFLAGS+="-Wl,--no-keep-memory"
+	fi
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-10-21  7:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-20 20:07 [PR PATCH] python3-efl: further attempt to reduce compiler memory usage voidlinux-github
2019-10-20 20:14 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-20 20:14 ` voidlinux-github
2019-10-20 21:43 ` [PR PATCH] [Updated] python3-efl: fix dependencies + attempt to fix i686 build voidlinux-github
2019-10-20 21:43 ` voidlinux-github
2019-10-20 21:45 ` [PR PATCH] [Updated] python3-efl: fix dependencies + " voidlinux-github
2019-10-20 21:45 ` voidlinux-github
2019-10-20 22:18 ` voidlinux-github
2019-10-20 22:18 ` voidlinux-github
2019-10-21  7:10 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).