-
Notifications
You must be signed in to change notification settings - Fork 804
[Driver][SYCL][Test] Fix tests fails when libclc project is disabled #20030
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
[Driver][SYCL][Test] Fix tests fails when libclc project is disabled #20030
Conversation
The tests fail since 388ccf5 when libclc project is disabled, since there is no libspirv bitcode file. Fix them by adding `-fno-sycl-libspirv` flag. Add `REQUIRES: libclc` to libspirv specific tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing the tests, see comments inline.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are no real CFE changes, so hitting approval to unblock the merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes looks good to me - Driver
@intel/llvm-gatekeepers please merge, thanks. It is not clear to me why Jenkins/Precommit fails. |
Since 388ccf5, tests fail when the libclc project is disabled
because the libspirv bitcode file is missing.
Fix them by adding
-fno-sycl-libspirv
flag.Add
-ccc-install-dir
for libspirv specific tests.