-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use --sysroot for device libraries in sycl-device-lib-nvptx.cpp (#15282)
Adds the `--sysroot` option to `clang` invocations in `clang/test/Driver/sycl-device-lib-nvptx.cpp` , pointing the compiler to `clang/test/Driver/Inputs/SYCL`, so that it uses the mock files for libraries, making the test pass even when DPC++ is not configured with `--cuda` (similarly to how it's done for other SYCL driver lit tests).
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters