Gentoo Archives: gentoo-dev

From: Thomas Sachau <tommy@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] multilib eclass support for building binaries for none-default ABI
Date: Sun, 25 Aug 2013 13:45:09
Message-Id: 521A0A52.6000308@gentoo.org
1 After some discussion on IRC, it seems like limiting the building of
2 binaries only for the default ABI is no subject to change, but the
3 following workaround suggested by ssuminem seems to have been accepted
4 by every side, so i will include the preferred patch in one week.
5
6 workaround: add a variable, which changes the return of the function
7 checking for the current ABI (always true with variable, without only
8 true, when $ABI == $DEFAULT_ABI)
9
10 first version (multilib1.patch) directly changes the output of the
11 currently used multilib_is_native_abi() function:
12
13 pro: no need to change already modified ebuilds
14
15 second version (multilib2.patch) creates a new function, which should
16 then be used by ebuild authors to check, if they should build
17 ABI-specific content or not (using build_binaries() function instead of
18 multilib_is_native_abi() function)
19
20 pro: seperate function, so multilib_is_native_abi() can still be used,
21 when really just one build is needed for everyone
22
23 Happy bikesh(r)edding
24
25 --
26
27 Thomas Sachau
28 Gentoo Linux Developer

Attachments

File name MIME type
multilib1.patch text/x-patch
multilib2.patch text/x-patch
signature.asc application/pgp-signature

Replies