X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail.wilcox-tech.com (mail.wilcox-tech.com [45.32.83.9]) by lists.alpinelinux.org (Postfix) with ESMTP id E10C45C4E51 for ; Wed, 7 Feb 2018 23:39:06 +0000 (GMT) Received: (qmail 29045 invoked from network); 7 Feb 2018 23:39:03 -0000 Received: from 107-131-85-28.lightspeed.tulsok.sbcglobal.net (HELO ?192.168.1.237?) (awilcox@wilcox-tech.com@107.131.85.28) by mail.wilcox-tech.com with ESMTPA; 7 Feb 2018 23:39:03 -0000 Subject: Re: [alpine-devel] rethinking the building infra To: Oliver Smith , alpine-devel@lists.alpinelinux.org References: <20180206013944.7fa393b6@ncopa-macbook.copa.dup.pw> <7676a963-d2b0-bf15-4f51-f5aa0d034e9a@bitmessage.ch> <290b7bc4-203d-dad4-21e5-3892537a2a76@adelielinux.org> <5e9111f1-2985-8597-b804-ddcb102a24fc@bitmessage.ch> From: "A. Wilcox" Organization: =?UTF-8?Q?Ad=c3=a9lie_Linux?= Message-ID: <45c16fdd-4091-0a50-e1b6-b025f949ae37@adelielinux.org> Date: Wed, 7 Feb 2018 17:39:13 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: <5e9111f1-2985-8597-b804-ddcb102a24fc@bitmessage.ch> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="O21xauSAIcQlDJdVUaMhDH4xXTothInbQ" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --O21xauSAIcQlDJdVUaMhDH4xXTothInbQ Content-Type: multipart/mixed; boundary="C1xEmd5fgTplttFppu5HJORvqsqGDgRCl"; protected-headers="v1" From: "A. Wilcox" To: Oliver Smith , alpine-devel@lists.alpinelinux.org Message-ID: <45c16fdd-4091-0a50-e1b6-b025f949ae37@adelielinux.org> Subject: Re: [alpine-devel] rethinking the building infra References: <20180206013944.7fa393b6@ncopa-macbook.copa.dup.pw> <7676a963-d2b0-bf15-4f51-f5aa0d034e9a@bitmessage.ch> <290b7bc4-203d-dad4-21e5-3892537a2a76@adelielinux.org> <5e9111f1-2985-8597-b804-ddcb102a24fc@bitmessage.ch> In-Reply-To: <5e9111f1-2985-8597-b804-ddcb102a24fc@bitmessage.ch> --C1xEmd5fgTplttFppu5HJORvqsqGDgRCl Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/07/18 16:53, Oliver Smith wrote: > What I mean is having packages directly in the binary repository, so > one can do: $ apk add gcc-armhf >=20 > Just like it's possible to install gcc-avr right now. But gcc-avr > package needs to be manually synced with the gcc aport. Instead of > that it would be nice, if we had cross-compilers automatically built > for all architectures, without running bootstrap.sh. Possibly as > subpackage of gcc (but that's probably not the desired solution, > since that will blow up the build time of GCC drastically). I think > that this might be relevant to cross-compiling in the binary > repository, because once such packages in the binary repo exist, it > would be a clean way to install the cross-compiler in the compiling > VM/container with apk. We (Ad=C3=A9lie) do this on x86_64 and ppc64 arches already (both of them= have various gcc-* binutils-* etc). It would be cool if Alpine wanted to do that. And necessary, if kernels are cross-built. > For package specific variables, we export them in the APKBUILD. We > only pass them through abuild for package independent variables, such > as: CARCH, CROSS_COMPILE, CC, CCACHE_PREFIX, CCACHE_PATH, > CCACHE_COMPILERCHECK, DISTCC_HOSTS CARCH and CROSS_COMPILE makes sense, since they are used by abuild. CC, CCACHE_*, and DISTCC_* make more sense in /etc/abuild.conf imo. > Alpine's linux-vanilla APKBUILD used to have a menuconfig() function > with a comment on top saying something like "# This is so we can use > 'abuild menuconfig'". But I just realized that this was removed. > Well, we still use that feature for that purpose. But if that did not > work anymore in abuild, we could call menuconfig directly. Yes, I personally think this is a bad idea and abuses the fact that APKBUILD files are `source`d by abuild. It is better to remove from the APKBUILD. I would even be in favour of having a little shell script in the linux-vanilla package or such that takes CARCH and CROSS_COMPILE like abuild does, and calls menuconfig properly for you. But not directly from the APKBUILD. Best, --arw --=20 A. Wilcox (awilfox) Project Lead, Ad=C3=A9lie Linux http://adelielinux.org --C1xEmd5fgTplttFppu5HJORvqsqGDgRCl-- --O21xauSAIcQlDJdVUaMhDH4xXTothInbQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJMBAEBCAA2FiEEjNyWOYPU1SaTSMHHyynLUZIrnRQFAlp7jiEYHGF3aWxmb3hA YWRlbGllbGludXgub3JnAAoJEMspy1GSK50Ur2cP/2dfEdNy3kK1xAaNVuBpd4wP 62aMA24mF875xQH5e6l5tAPsNV/5yeVeKlOKJE4AYTLLq/g5oAA9AqGOOjDhNLaA PvJCIY5GUfCgbOPg5PRUdPF3bS2gHasw8v5GlQMQQc9pzfOLUecjnuKmEv0ao9P2 Quq7/D7iFqw94HT0As/Uh/VlTzW+AfUg73+qAzqlsuDeMGFtshFCpCUhad48uYdM Pq/Hge3l2Mf8It4vGOiYqg40Xra4KMCrWLzIuhOYgaLOnpjgd1bB2Q4VMj+I7KoC GrskBKwJjWDlxtjZFUyI5CJP3EbnLrPAaV1MF25nFWupxHZAYhEkP4+ApEvg/mij FO4bqXDX4P8SBzmIUIjXdD6y5ikzq+ayLalJUiAKBqj0HHfl8rRwBbz762U+hZLb 7FPJe6PudyF7woZCU1ZE9r/dp8RJfCjsF/H65pOxedRTZkU/KC4TlSWlvygj0PoP bN0zwNWlxRaWZf/gHRIilZmCc09U70cZ7ahC0ArlaeCg66//jGNbyZiya2aRTRgJ OsKRkM6vOmcfEShCpwhvn16D/ZfZOVJTJs0MPuJVZaTnekLoW/uRdzThnB4evQ7m XecG7hvIJpKK8KFG69oEFGOYCeEvs/jo+jvFP0s1z2tFz0mu0dt3Qu4ha7L+nkKh mLfktEfda5dhR9nefCvy =uAGj -----END PGP SIGNATURE----- --O21xauSAIcQlDJdVUaMhDH4xXTothInbQ-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---