llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Add HIP_CLANG_LAUNCHER for launching Clang through a wrapper executable

Open GZGavinZhao opened this issue 1 year ago • 1 comments

Fixes ROCm/HIPCC#147. Moved from ROCm/HIPCC#148.

This allows Clang to be called through a compiler wrapper/launcher. This is most commonly used to run clang through a compiler launcher that can cache compilations, such as ccache and sccache, to allow caching of compilation artifacts.

For a more detailed motivation and description, please see ROCm/ROCm#2817.

GZGavinZhao avatar Jan 20 '24 16:01 GZGavinZhao

@david-salinas, please review this. Thanks!

kzhuravl avatar Jan 20 '24 18:01 kzhuravl