Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Time | Test | |
---|---|---|
640 ms | x64 debian > libomp.lock::omp_init_lock.c |
Event Timeline
This patch is so far just for discussion, still needs tests, etc. The motivation for this patch is to be able to include the intrinsic header files installed in the resource dir.
I've taken inspiration from ToolChains/Linux.cpp here.
Thanks for the patch. This makes the behavior closer to Linux.cpp . Request changes to clear my queue before a test is added...
clang/lib/Driver/ToolChains/Hexagon.cpp | ||
---|---|---|
604 | To match Linux.cpp, this code block should be unconditional. |
clang/lib/Driver/ToolChains/Hexagon.cpp | ||
---|---|---|
604 | The isMusl check is to distinguish between our internal c-library and musl c-library. |
Thanks for the test. linux-cross.cpp has some -SAME: {{^}} and "[[RESOURCE]]/include" patterns which you may use
clang/test/Driver/hexagon-toolchain-linux.c | ||
---|---|---|
108 | If you don't specify -resource-dir=%S/Inputs/resource_dir, under certain CMake configurations, the -resource-dir may be unreliable. | |
119 | Some / may need to be \. The Windows premerge test may give you a failure. |
Suggestions from Fangrui: override the resource-dir with an explicit arg, disable for windows.
To match Linux.cpp, this code block should be unconditional.