- Install clang
export LLVM_VERSION=18
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo llvm.sh ${LLVM_VERSION}
- Install scons
sudo apt install -y scons
- Download
wget https://github.com/ARM-software/ComputeLibrary/archive/refs/tags/v25.02.tar.gz
tar -zxvf v25.02.tar.gz
- Build
cd ComputeLibrary-25.02
CC=clang-18 CXX=clang++-18 scons -j4 Werror=1 debug=0 neon=1 openmp=1 cppthreads=1 os=linux arch=armv8a multi_isa=1 build=native validation_tests=1
LD_LIBRARY_PATH=./build/:$LD_LIBRARY_PATH ./build/tests/arm_compute_validation --filter-id=200
We can see the supported cpu features, in this examples we do not have any SVE nor SME:
cpu_has_sve = false
cpu_has_sve2 = false
cpu_has_svef32mm = false
cpu_has_svei8mm = false
cpu_has_svebf16 = false
cpu_has_sme = false
cpu_has_sme2 = false
cpu_has_fp16 = true
cpu_has_bf16 = false
cpu_has_dotprod = true
cpu_has_i8mm = false


