Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-efl: further attempt to reduce compiler memory usage
Date: Sun, 20 Oct 2019 22:07:49 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15650@inbox.vuxu.org> (raw)

[-- 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
+}

             reply	other threads:[~2019-10-20 20:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-20 20:07 voidlinux-github [this message]
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

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15650@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).