shiltian wrote: I'm actually not sure why the order makes a difference here? Is the issue caused by existence of `include/hsa/hsa.h` and `include/hsa.h` and they are actually different versions? https://github.com/llvm/llvm-project/pull/95769