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 99A6313835A for ; Fri, 11 Sep 2020 15:51:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9E01E08F2; Fri, 11 Sep 2020 15:51:03 +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 7E3D3E08F2 for ; Fri, 11 Sep 2020 15:51:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 11942340D40 for ; Fri, 11 Sep 2020 15:51:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 916BA35C for ; Fri, 11 Sep 2020 15:51:00 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1599839111.d4a163f63d2675b19b683e256d7e2881f477eb0a.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/arch/riscv/rv32imac/ilp32d/, profiles/arch/riscv/rv32imac/ilp32/ X-VCS-Repository: repo/gentoo X-VCS-Files: profiles/arch/riscv/rv32imac/ilp32/eapi profiles/arch/riscv/rv32imac/ilp32/make.defaults profiles/arch/riscv/rv32imac/ilp32/package.use.force profiles/arch/riscv/rv32imac/ilp32/use.force profiles/arch/riscv/rv32imac/ilp32/use.mask profiles/arch/riscv/rv32imac/ilp32d/eapi profiles/arch/riscv/rv32imac/ilp32d/make.defaults profiles/arch/riscv/rv32imac/ilp32d/package.use.force profiles/arch/riscv/rv32imac/ilp32d/use.mask X-VCS-Directories: profiles/arch/riscv/rv32imac/ilp32/ profiles/arch/riscv/rv32imac/ilp32d/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: d4a163f63d2675b19b683e256d7e2881f477eb0a X-VCS-Branch: master Date: Fri, 11 Sep 2020 15:51:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d9792a6d-72df-4c1b-8269-af48f1de01af X-Archives-Hash: afdd4f18c0791ae5a74bb774f28a35de commit: d4a163f63d2675b19b683e256d7e2881f477eb0a Author: Andreas K. Hüttel gentoo org> AuthorDate: Fri Sep 11 15:25:42 2020 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Fri Sep 11 15:45:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4a163f6 profiles: Add riscv rv32imac[df] ilp32[d] non-multilib profile subdirs Signed-off-by: Andreas K. Hüttel gentoo.org> profiles/arch/riscv/rv32imac/ilp32/eapi | 1 + profiles/arch/riscv/rv32imac/ilp32/make.defaults | 12 ++++++++++++ profiles/arch/riscv/rv32imac/ilp32/package.use.force | 5 +++++ profiles/arch/riscv/rv32imac/ilp32/use.force | 5 +++++ profiles/arch/riscv/rv32imac/ilp32/use.mask | 10 ++++++++++ profiles/arch/riscv/rv32imac/ilp32d/eapi | 1 + profiles/arch/riscv/rv32imac/ilp32d/make.defaults | 15 +++++++++++++++ profiles/arch/riscv/rv32imac/ilp32d/package.use.force | 5 +++++ profiles/arch/riscv/rv32imac/ilp32d/use.mask | 10 ++++++++++ 9 files changed, 64 insertions(+) diff --git a/profiles/arch/riscv/rv32imac/ilp32/eapi b/profiles/arch/riscv/rv32imac/ilp32/eapi new file mode 100644 index 00000000000..7ed6ff82de6 --- /dev/null +++ b/profiles/arch/riscv/rv32imac/ilp32/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/arch/riscv/rv32imac/ilp32/make.defaults b/profiles/arch/riscv/rv32imac/ilp32/make.defaults new file mode 100644 index 00000000000..959de434af0 --- /dev/null +++ b/profiles/arch/riscv/rv32imac/ilp32/make.defaults @@ -0,0 +1,12 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# RISC-V rv32imac/ilp32 no-multilib profile + +# We have only one ABI +MULTILIB_ABIS="ilp32" +DEFAULT_ABI="ilp32" +ABI="ilp32" + +# We hide the useflags for the ABIs +USE_EXPAND_HIDDEN="ABI_RISCV" diff --git a/profiles/arch/riscv/rv32imac/ilp32/package.use.force b/profiles/arch/riscv/rv32imac/ilp32/package.use.force new file mode 100644 index 00000000000..dc5b60c2dd2 --- /dev/null +++ b/profiles/arch/riscv/rv32imac/ilp32/package.use.force @@ -0,0 +1,5 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Undo multilib forcing. +sys-apps/sandbox -abi_riscv_lp64d -abi_riscv_lp64 -abi_riscv_ilp32d diff --git a/profiles/arch/riscv/rv32imac/ilp32/use.force b/profiles/arch/riscv/rv32imac/ilp32/use.force new file mode 100644 index 00000000000..e54ac40ffd2 --- /dev/null +++ b/profiles/arch/riscv/rv32imac/ilp32/use.force @@ -0,0 +1,5 @@ +# Un-force the original multilib default-abi flag +-abi_riscv_ilp32d + +# Force the abi of this profile here +abi_riscv_ilp32 diff --git a/profiles/arch/riscv/rv32imac/ilp32/use.mask b/profiles/arch/riscv/rv32imac/ilp32/use.mask new file mode 100644 index 00000000000..c717be8a4aa --- /dev/null +++ b/profiles/arch/riscv/rv32imac/ilp32/use.mask @@ -0,0 +1,10 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Mask multilib, since we do not want to use it. +multilib + +# Mask the other multilib flags back for non-multilib profile. +abi_riscv_lp64d +abi_riscv_lp64 +abi_riscv_ilp32d diff --git a/profiles/arch/riscv/rv32imac/ilp32d/eapi b/profiles/arch/riscv/rv32imac/ilp32d/eapi new file mode 100644 index 00000000000..7ed6ff82de6 --- /dev/null +++ b/profiles/arch/riscv/rv32imac/ilp32d/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/arch/riscv/rv32imac/ilp32d/make.defaults b/profiles/arch/riscv/rv32imac/ilp32d/make.defaults new file mode 100644 index 00000000000..3354876fcc8 --- /dev/null +++ b/profiles/arch/riscv/rv32imac/ilp32d/make.defaults @@ -0,0 +1,15 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# RISC-V rv64gc/lp64d no-multilib profile + +CFLAGS="-O2 -pipe -march=rv32imacdf -mabi=ilp32d" +CXXFLAGS="${CFLAGS}" +FFLAGS="${CFLAGS}" +FCFLAGS="${CFLAGS}" + +# We have only one ABI +MULTILIB_ABIS="ilp32d" + +# We hide the useflags for the ABIs +USE_EXPAND_HIDDEN="ABI_RISCV" diff --git a/profiles/arch/riscv/rv32imac/ilp32d/package.use.force b/profiles/arch/riscv/rv32imac/ilp32d/package.use.force new file mode 100644 index 00000000000..cf764cd5413 --- /dev/null +++ b/profiles/arch/riscv/rv32imac/ilp32d/package.use.force @@ -0,0 +1,5 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Undo multilib forcing. +sys-apps/sandbox -abi_riscv_lp64d -abi_riscv_lp64 -abi_riscv_ilp32 diff --git a/profiles/arch/riscv/rv32imac/ilp32d/use.mask b/profiles/arch/riscv/rv32imac/ilp32d/use.mask new file mode 100644 index 00000000000..b2c900da504 --- /dev/null +++ b/profiles/arch/riscv/rv32imac/ilp32d/use.mask @@ -0,0 +1,10 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Mask multilib, since we do not want to use it. +multilib + +# Mask the other multilib flags back for non-multilib profile. +abi_riscv_lp64d +abi_riscv_lp64 +abi_riscv_ilp32