[cfe-dev] [RFC] Unified offloading option for CUDA/HIP/OpenMP
Ben Boeckel via cfe-dev
cfe-dev at lists.llvm.org
Tue Dec 15 10:23:36 PST 2020
On Mon, Dec 14, 2020 at 14:04:43 -0800, Artem Belevich via cfe-dev wrote:
> It all may be an utter overkill, too. WDYT?
Note that tools such as ccache and sccache generally need to be able to
understand what's going on (I believe distcc and other distributed
compilation tools also generally need to know too), so making it
sensible enough for interpretation based on just the flags to be
possible should be considered.
For prior art, there are scoping operators for Linux's `ld`:
- `-(` and `-)` (`--start-group` and `--end-group`)
- stateful flags like `--no-as-needed` and `--as-needed` that change
how future arguments are interpreted
More information about the cfe-dev