Skip to content

"libsycl-fallback-cassert.spv" not found #1367

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hiaselhans opened this issue Mar 22, 2020 · 3 comments · Fixed by #1368
Closed

"libsycl-fallback-cassert.spv" not found #1367

hiaselhans opened this issue Mar 22, 2020 · 3 comments · Fixed by #1368

Comments

@hiaselhans
Copy link
Contributor

terminate called after throwing an instance of 'cl::sycl::compile_program_error'
  what():  Failed to load libsycl-fallback-cassert.spv -30 (CL_INVALID_VALUE)

i can't find the libsycl-fallback-cassert.spv in build/lib

i tried adding libdevice to DLLVM_EXTERNAL_PROJECTS and set DLLVM_EXTERNAL_LIBDEVICE_SOURCE_DIR as in #1276 but still can't find anything. what else do i need to build these files? it worked a few weeks back but now following the path in getting started doesn't work for me.

@bader
Copy link
Contributor

bader commented Mar 22, 2020

i tried adding libdevice to DLLVM_EXTERNAL_PROJECTS and set DLLVM_EXTERNAL_LIBDEVICE_SOURCE_DIR as in #1276 but still can't find anything. what else do i need to build these files?

You need to add libdevice to LLVM_ENABLE_PROJECTS variable.
The easiest way to configure CMake is to use https://github.com/intel/llvm/blob/sycl/buildbot/configure.py script.

@hiaselhans
Copy link
Contributor Author

thanks for the quick answer! i used that script but only updated external_projects.

@hiaselhans
Copy link
Contributor Author

i will compile, verify and close the issue.
and probably send a PR for gettingstarted

@romanovvlad romanovvlad linked a pull request Mar 22, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants