When clang is running on windows, /dev/null is not available. Use nul as empty input file instead.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Driver/ToolChains/HIP.cpp | ||
---|---|---|
210 ↗ | (On Diff #179941) | How hard would it be to just implement the TODO and get away from a reliance on a null file? |
lib/Driver/ToolChains/HIP.cpp | ||
---|---|---|
210 ↗ | (On Diff #179941) | I tried to make clang-offloader-bundler work without host target but it is not easy. Since it is shared with other languages e.g. OpenMP, it has a fundamental assumption that there is one host target. To make it work without host target may result in format changes that affecting HIP runtime, which is something I would like to avoid for now. |
lib/Driver/ToolChains/HIP.cpp | ||
---|---|---|
210 ↗ | (On Diff #179941) | Okay, if this is the only reasonable way you can find to do it, it's fine. |