Looks like CLANG_RESOURCE_DIR and CLANG_RUNTIME_DIR are only used internally, so we don't need to pass them explicitly.
The use of $(ROCM_BASE)/hip/include and $(ROCM_BASE)/hsa/include is not necessary, because they are symlinked to (or from) $(ROCM_BASE)/include, and their use is deprecated in ROCm 5.2.
Looks like
CLANG_RESOURCE_DIR
andCLANG_RUNTIME_DIR
are only used internally, so we don't need to pass them explicitly.The use of
$(ROCM_BASE)/hip/include
and$(ROCM_BASE)/hsa/include
is not necessary, because they are symlinked to (or from)$(ROCM_BASE)/include
, and their use is deprecated in ROCm 5.2.