Skip to content

deploy-sycl-toolchain build target missing L0 library dependencies #15986

@EwanC

Description

@EwanC

Describe the bug

From testing the L0 loader bump PRs:

I have discovered that the deploy-sycl-toolchain build target does not include all the necessary L0 dependencies.

To reproduce

With git branch from #15967

$ python3 buildbot/configure.py
$ python3 buildbot/compile.py
$ cd build
$ ./bin/sycl-ls
SYCL Exception encountered: Native API failed. Native API returns: 2147483646 (UR_RESULT_ERROR_UNKNOWN)
$ ninja deploy-sycl-toolchain
$ ./bin/sycl-ls
SYCL Exception encountered: Native API failed. Native API returns: 2147483646 (UR_RESULT_ERROR_UNKNOWN)
$  ninja libze_tracing_layer.so
$ ./bin/sycl-ls
<works correctly>

In this case manually building libze_tracing_layer.so fixes the issue, however I am not knowledgeable about DPC++ CMake or L0 to know if this is the only missing dependency.

EDIT On another system I also had to manually build the ninja libze_validation_layer.so target

Environment

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions