EESSI / software-layer

Software layer of the EESSI project
https://eessi.github.io/docs/software_layer
GNU General Public License v2.0
20 stars 43 forks source link

`archdetect` not strict enough #539

Closed ocaisa closed 2 months ago

ocaisa commented 2 months ago

When someone was using a Raspberry PI 4 they got the Neoverse N1 stack but their instruction set is not good enough for that stack. As a result I started looking at https://gpages.juszkiewicz.com.pl/arm-socs-table/arm-socs.html and the ARM specs we require for matching in https://github.com/EESSI/software-layer/blob/2023.06-software.eessi.io/init/arch_specs/eessi_arch_arm.spec

Our specs do not seem to be strict enough currently. For Neoverse N1, we need at least something that is unique to that instruction set (which is ARMv8.2-A).

ocaisa commented 2 months ago

asimddp seems to be a decent candidate to pin down the 8.2A instruction set. This would also match for A64FX and if we build for that especially sve should be enough to distinguish that.