When attempting to compile hip-analyzer, I encountered the following error:
[ 1%] Generating gpu_pass_instr.ll
clang-15: error: cannot specify -o when generating multiple output files
make[2]: *** [CMakeFiles/gpu_pass_instr.dir/build.make:73: gpu_pass_instr.ll] Error 1
make[1]: *** [CMakeFiles/Makefile2:253: CMakeFiles/gpu_pass_instr.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
This issue appears to be caused by specifying the -o option while the hipcc compiler generates multiple output files. Removing the -o gpu_pass_instr.ll option might resolve the issue, but I am seeking a more appropriate solution or guidance on how to handle this correctly.
Could you please provide assistance or a fix for this issue?