Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CMake Fails due to Empty Sources when LIBKINETO_NOXPUPTI is Undefined  #1108

@zli669

Description

@zli669

In the case of LIBKINETO_NOXPUPTI is not defined, the line 141 of CMakeLists.txt prevents from building cpu_only_srcs . However, line 151 also prevents from building xpupti_srcs.

It causes LIBKINETO_SRCS to be empty and the compilation will fail.

(I suppose that cpu_only_srcs should be the choice in this case.)

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