Summary
Building OpenBLAS with TARGET=GENERIC on ppc64le fails at CMake configure time because kernel/power/KERNEL.generic does not exist.
Building with TARGET=POWER or TARGET=POWER9 is successful.
Steps to reproduce
On a ppc64le machine:
git clone https://github.com/OpenMathLib/OpenBLAS
cd OpenBLAS
cmake -B build -DTARGET=GENERIC
Error
-- Reading vars from /home/user/OpenBLAS/kernel/power/KERNEL...
-- Reading vars from /home/user/OpenBLAS/kernel/power/KERNEL.generic...
CMake Error at cmake/utils.cmake:59 (file):
file STRINGS file
"/home/user/OpenBLAS/kernel/power/KERNEL.generic"
cannot be read.
Call Stack (most recent call first):
kernel/CMakeLists.txt:40 (ParseMakefileVars)
kernel/CMakeLists.txt:1556 (build_core)
-- Configuring incomplete, errors occurred!
Environment
- Architecture: ppc64le (POWER9)
- OS: RHEL 8 / Linux
- OpenBLAS version: latest
develop
Summary
Building OpenBLAS with
TARGET=GENERICon ppc64le fails at CMake configure time becausekernel/power/KERNEL.genericdoes not exist.Building with
TARGET=POWERorTARGET=POWER9is successful.Steps to reproduce
On a ppc64le machine:
Error
Environment
develop