* Re: [PR PATCH] [Updated] python3-efl: further attempt to reduce compiler memory usage
2019-10-20 20:07 [PR PATCH] python3-efl: further attempt to reduce compiler memory usage voidlinux-github
@ 2019-10-20 20:14 ` voidlinux-github
2019-10-20 20:14 ` voidlinux-github
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-20 20:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 347 bytes --]
There is an updated 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: 1556 bytes --]
From af87bd5ccccf564b917122c4a580cf8d7a7625bc 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: fix dependencies and reduce memory on 32-bit
[ci skip]
---
srcpkgs/python3-efl/template | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/python3-efl/template b/srcpkgs/python3-efl/template
index 3a3fa070478..89bb1c15b05 100644
--- a/srcpkgs/python3-efl/template
+++ b/srcpkgs/python3-efl/template
@@ -1,13 +1,13 @@
# Template file for 'python3-efl'
pkgname=python3-efl
version=1.23.0
-revision=1
+revision=2
wrksrc=python-efl-${version}
build_style=python3-module
pycompile_module="efl"
-hostmakedepends="pkg-config python-devel python3-devel"
+hostmakedepends="pkg-config python3-devel"
makedepends="efl-devel python-dbus-devel"
-depends="python-dbus"
+depends="python3-dbus"
short_desc="Python3 bindings for Enlightenment Foundation Libraries"
maintainer="q66 <daniel@octaforge.org>"
license="LGPL-3.0-only, LGPL-3.0-only"
@@ -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
* Re: [PR PATCH] [Updated] python3-efl: further attempt to reduce compiler memory usage
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
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-20 20:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 347 bytes --]
There is an updated 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: 1556 bytes --]
From af87bd5ccccf564b917122c4a580cf8d7a7625bc 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: fix dependencies and reduce memory on 32-bit
[ci skip]
---
srcpkgs/python3-efl/template | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/python3-efl/template b/srcpkgs/python3-efl/template
index 3a3fa070478..89bb1c15b05 100644
--- a/srcpkgs/python3-efl/template
+++ b/srcpkgs/python3-efl/template
@@ -1,13 +1,13 @@
# Template file for 'python3-efl'
pkgname=python3-efl
version=1.23.0
-revision=1
+revision=2
wrksrc=python-efl-${version}
build_style=python3-module
pycompile_module="efl"
-hostmakedepends="pkg-config python-devel python3-devel"
+hostmakedepends="pkg-config python3-devel"
makedepends="efl-devel python-dbus-devel"
-depends="python-dbus"
+depends="python3-dbus"
short_desc="Python3 bindings for Enlightenment Foundation Libraries"
maintainer="q66 <daniel@octaforge.org>"
license="LGPL-3.0-only, LGPL-3.0-only"
@@ -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
* Re: [PR PATCH] [Updated] python3-efl: fix dependencies + attempt to fix i686 build
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 ` voidlinux-github
2019-10-20 21:43 ` voidlinux-github
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-20 21:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 344 bytes --]
There is an updated 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: fix dependencies + attempt to fix i686 build
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: 1644 bytes --]
From 09807cf0c1619c88db2084a1b6bece56fe47b39f 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: fix dependencies and reduce memory on 32-bit
[ci skip]
---
srcpkgs/python3-efl/template | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/python3-efl/template b/srcpkgs/python3-efl/template
index 3a3fa070478..2a76a6fb845 100644
--- a/srcpkgs/python3-efl/template
+++ b/srcpkgs/python3-efl/template
@@ -1,13 +1,13 @@
# Template file for 'python3-efl'
pkgname=python3-efl
version=1.23.0
-revision=1
+revision=2
wrksrc=python-efl-${version}
build_style=python3-module
pycompile_module="efl"
-hostmakedepends="pkg-config python-devel python3-devel"
+hostmakedepends="pkg-config python3-devel"
makedepends="efl-devel python-dbus-devel"
-depends="python-dbus"
+depends="python3-dbus"
short_desc="Python3 bindings for Enlightenment Foundation Libraries"
maintainer="q66 <daniel@octaforge.org>"
license="LGPL-3.0-only, LGPL-3.0-only"
@@ -15,7 +15,14 @@ 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() {
+ # any higher optimiation level and gcc OOMs on i686 (even -Os)
+ case "$XBPS_TARGET_MACHINE" in
+ i686*) export CFLAGS+=" -O1";;
+ esac
+
+ # the build likes to add -g without asking
+ if [ -z "$XBPS_DEBUG_PKGS" ]; then
+ export CFLAGS+=" -g0"
+ fi
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] python3-efl: fix dependencies + attempt to fix i686 build
2019-10-20 20:07 [PR PATCH] python3-efl: further attempt to reduce compiler memory usage voidlinux-github
` (2 preceding siblings ...)
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
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-20 21:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 344 bytes --]
There is an updated 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: fix dependencies + attempt to fix i686 build
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: 1644 bytes --]
From 09807cf0c1619c88db2084a1b6bece56fe47b39f 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: fix dependencies and reduce memory on 32-bit
[ci skip]
---
srcpkgs/python3-efl/template | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/python3-efl/template b/srcpkgs/python3-efl/template
index 3a3fa070478..2a76a6fb845 100644
--- a/srcpkgs/python3-efl/template
+++ b/srcpkgs/python3-efl/template
@@ -1,13 +1,13 @@
# Template file for 'python3-efl'
pkgname=python3-efl
version=1.23.0
-revision=1
+revision=2
wrksrc=python-efl-${version}
build_style=python3-module
pycompile_module="efl"
-hostmakedepends="pkg-config python-devel python3-devel"
+hostmakedepends="pkg-config python3-devel"
makedepends="efl-devel python-dbus-devel"
-depends="python-dbus"
+depends="python3-dbus"
short_desc="Python3 bindings for Enlightenment Foundation Libraries"
maintainer="q66 <daniel@octaforge.org>"
license="LGPL-3.0-only, LGPL-3.0-only"
@@ -15,7 +15,14 @@ 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() {
+ # any higher optimiation level and gcc OOMs on i686 (even -Os)
+ case "$XBPS_TARGET_MACHINE" in
+ i686*) export CFLAGS+=" -O1";;
+ esac
+
+ # the build likes to add -g without asking
+ if [ -z "$XBPS_DEBUG_PKGS" ]; then
+ export CFLAGS+=" -g0"
+ fi
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] python3-efl: fix dependencies + fix i686 build
2019-10-20 20:07 [PR PATCH] python3-efl: further attempt to reduce compiler memory usage voidlinux-github
` (3 preceding siblings ...)
2019-10-20 21:43 ` voidlinux-github
@ 2019-10-20 21:45 ` voidlinux-github
2019-10-20 21:45 ` voidlinux-github
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-20 21:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 333 bytes --]
There is an updated 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: fix dependencies + fix i686 build
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: 1645 bytes --]
From a62506c6c043f55e5230ca21ef5272c0079dab46 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: fix dependencies and reduce memory on 32-bit
[ci skip]
---
srcpkgs/python3-efl/template | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/python3-efl/template b/srcpkgs/python3-efl/template
index 3a3fa070478..4a32aa9f67a 100644
--- a/srcpkgs/python3-efl/template
+++ b/srcpkgs/python3-efl/template
@@ -1,13 +1,13 @@
# Template file for 'python3-efl'
pkgname=python3-efl
version=1.23.0
-revision=1
+revision=2
wrksrc=python-efl-${version}
build_style=python3-module
pycompile_module="efl"
-hostmakedepends="pkg-config python-devel python3-devel"
+hostmakedepends="pkg-config python3-devel"
makedepends="efl-devel python-dbus-devel"
-depends="python-dbus"
+depends="python3-dbus"
short_desc="Python3 bindings for Enlightenment Foundation Libraries"
maintainer="q66 <daniel@octaforge.org>"
license="LGPL-3.0-only, LGPL-3.0-only"
@@ -15,7 +15,14 @@ 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() {
+ # any higher optimization level and gcc OOMs on i686 (even -Os)
+ case "$XBPS_TARGET_MACHINE" in
+ i686*) export CFLAGS+=" -O1";;
+ esac
+
+ # the build likes to add -g without asking
+ if [ -z "$XBPS_DEBUG_PKGS" ]; then
+ export CFLAGS+=" -g0"
+ fi
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] python3-efl: fix dependencies + fix i686 build
2019-10-20 20:07 [PR PATCH] python3-efl: further attempt to reduce compiler memory usage voidlinux-github
` (4 preceding siblings ...)
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
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-20 21:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 333 bytes --]
There is an updated 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: fix dependencies + fix i686 build
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: 1645 bytes --]
From a62506c6c043f55e5230ca21ef5272c0079dab46 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: fix dependencies and reduce memory on 32-bit
[ci skip]
---
srcpkgs/python3-efl/template | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/python3-efl/template b/srcpkgs/python3-efl/template
index 3a3fa070478..4a32aa9f67a 100644
--- a/srcpkgs/python3-efl/template
+++ b/srcpkgs/python3-efl/template
@@ -1,13 +1,13 @@
# Template file for 'python3-efl'
pkgname=python3-efl
version=1.23.0
-revision=1
+revision=2
wrksrc=python-efl-${version}
build_style=python3-module
pycompile_module="efl"
-hostmakedepends="pkg-config python-devel python3-devel"
+hostmakedepends="pkg-config python3-devel"
makedepends="efl-devel python-dbus-devel"
-depends="python-dbus"
+depends="python3-dbus"
short_desc="Python3 bindings for Enlightenment Foundation Libraries"
maintainer="q66 <daniel@octaforge.org>"
license="LGPL-3.0-only, LGPL-3.0-only"
@@ -15,7 +15,14 @@ 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() {
+ # any higher optimization level and gcc OOMs on i686 (even -Os)
+ case "$XBPS_TARGET_MACHINE" in
+ i686*) export CFLAGS+=" -O1";;
+ esac
+
+ # the build likes to add -g without asking
+ if [ -z "$XBPS_DEBUG_PKGS" ]; then
+ export CFLAGS+=" -g0"
+ fi
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] python3-efl: fix dependencies + fix i686 build
2019-10-20 20:07 [PR PATCH] python3-efl: further attempt to reduce compiler memory usage voidlinux-github
` (5 preceding siblings ...)
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
8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-20 22:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 333 bytes --]
There is an updated 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: fix dependencies + fix i686 build
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: 1668 bytes --]
From 7a65fe764007b65853b999ddaeac8d79acd91909 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: fix dependencies and reduce memory on 32-bit
[ci skip]
---
srcpkgs/python3-efl/template | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-efl/template b/srcpkgs/python3-efl/template
index 3a3fa070478..2a016952fff 100644
--- a/srcpkgs/python3-efl/template
+++ b/srcpkgs/python3-efl/template
@@ -1,21 +1,28 @@
# Template file for 'python3-efl'
pkgname=python3-efl
version=1.23.0
-revision=1
+revision=2
wrksrc=python-efl-${version}
build_style=python3-module
pycompile_module="efl"
-hostmakedepends="pkg-config python-devel python3-devel"
+hostmakedepends="pkg-config python3-devel"
makedepends="efl-devel python-dbus-devel"
-depends="python-dbus"
+depends="python3-dbus"
short_desc="Python3 bindings for Enlightenment Foundation Libraries"
maintainer="q66 <daniel@octaforge.org>"
-license="LGPL-3.0-only, LGPL-3.0-only"
+license="LGPL-3.0-only, GPL-3.0-only"
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() {
+ # any higher optimization level and gcc OOMs on i686 (even -Os)
+ case "$XBPS_TARGET_MACHINE" in
+ i686*) export CFLAGS+=" -O1";;
+ esac
+
+ # the build likes to add -g without asking
+ if [ -z "$XBPS_DEBUG_PKGS" ]; then
+ export CFLAGS+=" -g0"
+ fi
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] python3-efl: fix dependencies + fix i686 build
2019-10-20 20:07 [PR PATCH] python3-efl: further attempt to reduce compiler memory usage voidlinux-github
` (6 preceding siblings ...)
2019-10-20 22:18 ` voidlinux-github
@ 2019-10-20 22:18 ` voidlinux-github
2019-10-21 7:10 ` [PR PATCH] [Merged]: " voidlinux-github
8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-20 22:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 333 bytes --]
There is an updated 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: fix dependencies + fix i686 build
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: 1668 bytes --]
From 7a65fe764007b65853b999ddaeac8d79acd91909 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: fix dependencies and reduce memory on 32-bit
[ci skip]
---
srcpkgs/python3-efl/template | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-efl/template b/srcpkgs/python3-efl/template
index 3a3fa070478..2a016952fff 100644
--- a/srcpkgs/python3-efl/template
+++ b/srcpkgs/python3-efl/template
@@ -1,21 +1,28 @@
# Template file for 'python3-efl'
pkgname=python3-efl
version=1.23.0
-revision=1
+revision=2
wrksrc=python-efl-${version}
build_style=python3-module
pycompile_module="efl"
-hostmakedepends="pkg-config python-devel python3-devel"
+hostmakedepends="pkg-config python3-devel"
makedepends="efl-devel python-dbus-devel"
-depends="python-dbus"
+depends="python3-dbus"
short_desc="Python3 bindings for Enlightenment Foundation Libraries"
maintainer="q66 <daniel@octaforge.org>"
-license="LGPL-3.0-only, LGPL-3.0-only"
+license="LGPL-3.0-only, GPL-3.0-only"
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() {
+ # any higher optimization level and gcc OOMs on i686 (even -Os)
+ case "$XBPS_TARGET_MACHINE" in
+ i686*) export CFLAGS+=" -O1";;
+ esac
+
+ # the build likes to add -g without asking
+ if [ -z "$XBPS_DEBUG_PKGS" ]; then
+ export CFLAGS+=" -g0"
+ fi
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Merged]: python3-efl: fix dependencies + fix i686 build
2019-10-20 20:07 [PR PATCH] python3-efl: further attempt to reduce compiler memory usage voidlinux-github
` (7 preceding siblings ...)
2019-10-20 22:18 ` voidlinux-github
@ 2019-10-21 7:10 ` voidlinux-github
8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-21 7:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 180 bytes --]
There's a merged pull request on the void-packages repository
python3-efl: fix dependencies + fix i686 build
https://github.com/void-linux/void-packages/pull/15650
Description:
^ permalink raw reply [flat|nested] 10+ messages in thread