Skip to content
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

clang -cc1 fails to parse opencl_type_traits due to missing header files #59

Open
AnastasiaStulova opened this issue Oct 26, 2021 · 0 comments

Comments

@AnastasiaStulova
Copy link
Contributor

When clang is used with -cc1 parsing opencl_type_traits ends up with missing include files, for example features.h.

Do we need to update build target or readme to specify the location of extra headers?

Example command line to reproduce failures:

clang -cc1 -I<libclcxx build location>/include/ test.cl -cl-std=clc++ -emit-llvm -fdeclare-opencl-builtins -finclude-default-header -I <clang build location>/include/ -emit-llvm -o -

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

No branches or pull requests

1 participant