Skip to content

Building OpenBLAS with TARGET=GENERIC on ppc64le fails #5987

Description

@benrichard-amd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions