From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8E2B6138359 for ; Wed, 21 Oct 2020 04:34:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1A27E0ADE; Wed, 21 Oct 2020 04:34:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B1205E0ADE for ; Wed, 21 Oct 2020 04:34:12 +0000 (UTC) From: Georgy Yakovlev To: gentoo-catalyst@lists.gentoo.org Cc: Georgy Yakovlev Subject: [gentoo-catalyst] [PATCH 1/3] arch/ppc.toml: add CHOST based subarches Date: Tue, 20 Oct 2020 21:33:45 -0700 Message-Id: <20201021043347.632763-1-gyakovlev@gentoo.org> X-Mailer: git-send-email 2.29.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 8c446d32-37fa-4664-b345-184c94b706c0 X-Archives-Hash: 1a7e9b461dc62b12f624d90faa4aa0cf if stage spec sets chost value, code in catalyst/base/stagebase.py#L76 will derive subarch value from the frontmost part of CHOST triple. if such subarch is not defined in toml file, build will fail. Add generic copy of base subarches defined in CHOST format. Signed-off-by: Georgy Yakovlev --- arch/ppc.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/ppc.toml b/arch/ppc.toml index a3db919e..870c7647 100644 --- a/arch/ppc.toml +++ b/arch/ppc.toml @@ -46,10 +46,18 @@ USE = [ "altivec", "ibm",] COMMON_FLAGS = "-O2 -pipe" CHOST = "powerpc64-unknown-linux-gnu" +[ppc64.powerpc64] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "powerpc64-unknown-linux-gnu" + [ppc64.ppc64le] COMMON_FLAGS = "-O2 -pipe" CHOST = "powerpc64le-unknown-linux-gnu" +[ppc64.powerpc64le] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "powerpc64le-unknown-linux-gnu" + [ppc.g3] CHOST = "powerpc-unknown-linux-gnu" COMMON_FLAGS = "-O2 -mcpu=G3 -mtune=G3 -pipe" @@ -68,3 +76,6 @@ USE = [ "altivec",] CHOST = "powerpc-unknown-linux-gnu" COMMON_FLAGS = "-O2 -mcpu=powerpc -mtune=powerpc -pipe" +[ppc.powerpc] +CHOST = "powerpc-unknown-linux-gnu" +COMMON_FLAGS = "-O2 -mcpu=powerpc -mtune=powerpc -pipe" -- 2.29.0