Skip to content

SYCL branch is broken when built with --disable-jit #19291

Open
@vinser52

Description

@vinser52

Describe the bug

The #18918 breaks the build when --disable-jit option is used.

To reproduce

Build command to reproduce the issue:

python3 ../buildbot/configure.py --disable-jit --level_zero_adapter_version ALL -t RelWithDebInfo
python3 ../buildbot/compile.py

Error output:

[7/502] Building CXX object tools/sycl/source/CMakeFiles/sycl_object.dir/detail/device_image_impl.cpp.o
FAILED: tools/sycl/source/CMakeFiles/sycl_object.dir/detail/device_image_impl.cpp.o
/usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DSYCL2020_DISABLE_DEPRECATION_WARNINGS -DXPTI_ENABLE_INSTRUMENTATION -DXPTI_STATIC_LIBRARY -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS -D__STDC_CONSTANT_MACROS -D__S
TDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__SYCL_INTERNAL_API -I/user/svinogra/llvm/build_debug/tools/sycl/source -I/user/svinogra/llvm/sycl/source -I/user/svinogra/llvm/build_debug/include -I/user/svinogra/llvm/llvm/include -I/user/svinogra/llvm/xpti/in
clude -I/user/svinogra/llvm/sycl/include -I/user/svinogra/llvm/unified-runtime/include -I/user/svinogra/llvm/build_debug/_deps/opencl-headers-src -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wex
tra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdele
te-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -Wall -Wextra -g -gsplit-dwarf -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-psabi -fn
o-omit-frame-pointer -std=c++17 -MD -MT tools/sycl/source/CMakeFiles/sycl_object.dir/detail/device_image_impl.cpp.o -MF tools/sycl/source/CMakeFiles/sycl_object.dir/detail/device_image_impl.cpp.o.d -o tools/sycl/source/CMakeFiles/sycl_object.dir/detail/d
evice_image_impl.cpp.o -c /user/svinogra/llvm/sycl/source/detail/device_image_impl.cpp
In file included from /user/svinogra/llvm/sycl/source/detail/device_image_impl.cpp:9:
/user/svinogra/llvm/sycl/source/detail/device_image_impl.hpp:11:10: fatal error: JITBinaryInfo.h: No such file or directory
   11 | #include "JITBinaryInfo.h"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.

Environment

  • OS: Linux

Metadata

Metadata

Assignees

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