-
Notifications
You must be signed in to change notification settings - Fork 794
[clang][Driver][SYCL] Disable SYCL header search paths under -nostd[lib]inc
#20583
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
Conversation
mdtoguchi
left a comment
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.
LGTM
| // those STL headers in their programs (e.g., <complex>). | ||
| SmallString<128> STLWrappersDir(SYCLDir); | ||
| llvm::sys::path::append(STLWrappersDir, "stl_wrappers"); | ||
| // Add the SYCL specific header directories as system directories for non |
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.
I understand that you have retained the comments from the original code, but could you add some context on why SYCL specific header directories are added as system directories for non MSVC compilers?
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.
That should go into a separate PR, possibly merging the implementation of host/device toolchains.
That matches the intended behavior of those options.