Add host predefined macros to compilation for SYCL device, which is
required for pre-processing host specific includes (e.g. system
headers).
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
I'm looking for test suggestions as I was not able to find tests covering similar changes for OpenMP compiler.
https://github.com/llvm/llvm-project/commit/59d7b77b16bf11810091fe75a4348198783d3fbc modifies driver and front-end, but adds only driver tests.
Build result: pass - 60674 tests passed, 0 failed and 726 were skipped.
Log files: console-log.txt, CMakeCache.txt
Should I add test for both: SYCL and OpenMP?
What is the right place for this kind of tests: clang/test/Preprocessor/ or clang/test/Frontend/?
It would good but make in different patches. For OpenMP tests there is a directory clang/test/OpenMP. For SYCL, probably, clang/test/Frontend, since it is going to be a test for the frontend.
Added LIT test.
If it's okay, I'll add similar test for OpenMP device compiler to clang/test/OpenMP directory.
Build result: pass - 60675 tests passed, 0 failed and 726 were skipped.
Log files: console-log.txt, CMakeCache.txt