Skip to content

cmake with existing OpenBLAS throws "requests linking to directory" warning. DWITH_OPENBLAS_LIB must point to a file and not a directory. #2

@pedrohnv

Description

@pedrohnv

When running cmake with an existing OpenBLAS with the flag -DWITH_OPENBLAS_LIB=location/of/openblas/lib, the README states that

(...) location/of/openblas/lib is the path to the directory containing the OpenBLAS shared library, usually libopenblas.so.

But cmake throws a warning "requests linking to directory". The flag -DWITH_OPENBLAS_LIB must point to a file and not a directory, that is, in the README, location/of/openblas/lib should read location/of/openblas/lib/libopenblas.so. By doing that, I could successfully compile and run strata on OpenSUSE Leap 15.3.

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