Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: include riscv bitness in tc-arch

2021-05-03 Thread David Michael
On Mon, May 3, 2021 at 4:41 AM Sergei Trofimovich wrote: > On Sun, 02 May 2021 18:22:43 -0400 fedora@gmail.com wrote: > > This makes tc-arch identify RISC-V systems as either "riscv64" or > > "riscv32". It will still return "riscv" for the kernel arch or if > > bitness is not given in the

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: include riscv bitness in tc-arch

2021-05-03 Thread Sergei Trofimovich
On Sun, 02 May 2021 18:22:43 -0400 fedora@gmail.com wrote: > This makes tc-arch identify RISC-V systems as either "riscv64" or > "riscv32". It will still return "riscv" for the kernel arch or if > bitness is not given in the host triplet. tc-arch returns portage's ARCH= value based on

[gentoo-dev] [PATCH] toolchain-funcs.eclass: include riscv bitness in tc-arch

2021-05-02 Thread fedora . dm0
This makes tc-arch identify RISC-V systems as either "riscv64" or "riscv32". It will still return "riscv" for the kernel arch or if bitness is not given in the host triplet. This fixes the expected values of cpu_family in meson projects: https://mesonbuild.com/Reference-tables.html#cpu-families