From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 839421387B1 for ; Mon, 21 Sep 2015 14:01:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32FA721C004; Mon, 21 Sep 2015 14:01:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C67BC21C004 for ; Mon, 21 Sep 2015 14:01:56 +0000 (UTC) Received: from [192.168.1.250] (pool-72-95-142-247.pitbpa.fios.verizon.net [72.95.142.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: zerochaos) by smtp.gentoo.org (Postfix) with ESMTPSA id 7569E34072E; Mon, 21 Sep 2015 14:01:54 +0000 (UTC) Subject: Re: [gentoo-catalyst][PATCH v1] arch/powerpc.py:add support for subarch power8 bug#560818 To: gentoo-catalyst@lists.gentoo.org, ppc@gentoo.org References: <1442839128-24946-1-git-send-email-lenohou@gmail.com> From: "Rick \"Zero_Chaos\" Farina" Message-ID: <56000DEA.6050607@gentoo.org> Date: Mon, 21 Sep 2015 10:02:18 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.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 MIME-Version: 1.0 In-Reply-To: <1442839128-24946-1-git-send-email-lenohou@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Archives-Salt: d735a924-0b45-475a-9f05-46d8c92c353f X-Archives-Hash: f21103ac2fde792c85373eb6cbb68cb5 On 09/21/2015 08:38 AM, Leno Hou wrote: I see no issues here, but I defer to PPC team. -Zero_Chaos > Currently catalyst does not support ppc64le arch, we add > subarch power8 to support ppc64le and make stage files. > > Signed-off-by: Leno Hou > --- > catalyst/arch/powerpc.py | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/catalyst/arch/powerpc.py b/catalyst/arch/powerpc.py > index f903b38..49bdd92 100644 > --- a/catalyst/arch/powerpc.py > +++ b/catalyst/arch/powerpc.py > @@ -108,6 +108,14 @@ class arch_power6(arch_ppc64): > self.settings["CFLAGS"]="-O2 -pipe -mcpu=power6 -mtune=power6" > self.settings["HOSTUSE"]=["altivec","ibm"] > > +class arch_power8(arch_ppc64): > + "builder class for power8 under ppc64le" > + def __init__(self,myspec): > + arch_ppc64.__init__(self,myspec) > + self.settings["CFLAGS"]="-O2 -pipe -mcpu=power8 -mtune=power8 -mabi=elfv2" > + self.settings["CHOST"]="powerpc64le-linux-gnu" > + self.settings["HOSTUSE"]=["altivec","ibm"] > + > def register(): > "Inform main catalyst program of the contents of this plugin." > return ({ > @@ -122,6 +130,7 @@ def register(): > "power4" : arch_power4, > "power5" : arch_power5, > "power6" : arch_power6, > + "power8" : arch_power8, > "ppc" : arch_ppc, > "ppc64" : arch_ppc64 > - }, ("ppc","ppc64","powerpc","powerpc64")) > + }, ("ppc","ppc64","ppc64le","powerpc","powerpc64","powerpc64le")) >