Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 907331

Summary: dev-cpp/xsimd-11.1.0 add riscv keyword
Product: Gentoo Linux Reporter: Andrew Cameron <apcameron>
Component: KeywordingAssignee: Tupone Alfredo <tupone>
Status: RESOLVED FIXED    
Severity: normal CC: riscv
Priority: Normal    
Version: unspecified   
Hardware: riscv   
OS: Linux   
URL: https://github.com/xtensor-stack/xsimd/issues/503
Whiteboard:
Package list:
Runtime testing required: ---
Attachments:
Description Flags
build log
none
Apache Arrow Build log with test enabled none

Description Andrew Cameron 2023-05-28 21:46:46 UTC
Created attachment 862765 [details]
build log

Please add the riscv keyword to the last ebuild for this package and its dependancies.
It is running successfully on my RISC-v VisionFive 2
Comment 1 Yixun Lan archtester gentoo-dev 2023-05-28 23:40:07 UTC
Hi Andrew Cameron, providing build log is really good, but we'd actually like to see valid reasons for requesting riscv keyword.

For dev-cpp/xsimd, it occurs to me it may require certain hardware/CPU extension  support, and highly architecture specific, also from upstream I haven't seen RISC-V ARCH support (happy to be proved wrong).
Comment 2 Andrew Cameron 2023-05-29 17:07:57 UTC
It is a dependency for apache arrow which I have installed
See https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/apache-arrow/apache-arrow-12.0.0.ebuild

eix apache-arrow
[I] dev-libs/apache-arrow
     Available versions:  ~*11.0.0-r2^t (~*)12.0.0^t {brotli bzip2 compute dataset +json lz4 parquet re2 snappy ssl test zlib zstd}
     Installed versions:  12.0.0^t(18:40:30 05/24/23)(bzip2 compute dataset json ssl zlib -brotli -lz4 -parquet -re2 -snappy -test -zstd)
     Homepage:            https://arrow.apache.org/
     Description:         A cross-language development platform for in-memory data.
Comment 3 Andrew Cameron 2023-05-29 20:09:19 UTC
Created attachment 862863 [details]
Apache Arrow Build log with test enabled

I have include a build log with the apache arrow tests.
Apache Arrow has dev-cpp/xsimd as a dependancy
Comment 4 Andrew Cameron 2023-06-05 21:20:26 UTC
NOTE: My processor does not support the Vector extensions.
So https://github.com/xtensor-stack/xsimd/issues/503 is not applicable for my processor. For each riscv processor you only enable what it supports.
In My case this is what it has rv64imafdc_zicsr_zba_zbb 
It also has a builtin GPU - PowerVR B-Series BXE-4-32