public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] [PATCH 1/3] arch/ppc.toml: add CHOST based subarches
@ 2020-10-21  4:33 Georgy Yakovlev
  2020-10-21  4:33 ` [gentoo-catalyst] [PATCH 2/3] arch/ppc.toml: don't force -mabi=elfv2 on power subarches Georgy Yakovlev
  2020-10-21  4:33 ` [gentoo-catalyst] [PATCH 3/3] arch/ppc.toml: add power9 subarches Georgy Yakovlev
  0 siblings, 2 replies; 3+ messages in thread
From: Georgy Yakovlev @ 2020-10-21  4:33 UTC (permalink / raw
  To: gentoo-catalyst; +Cc: Georgy Yakovlev

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 <gyakovlev@gentoo.org>
---
 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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-21  4:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-21  4:33 [gentoo-catalyst] [PATCH 1/3] arch/ppc.toml: add CHOST based subarches Georgy Yakovlev
2020-10-21  4:33 ` [gentoo-catalyst] [PATCH 2/3] arch/ppc.toml: don't force -mabi=elfv2 on power subarches Georgy Yakovlev
2020-10-21  4:33 ` [gentoo-catalyst] [PATCH 3/3] arch/ppc.toml: add power9 subarches Georgy Yakovlev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox