Details
Details
- Reviewers
Girtablulu joebonrichie - Group Reviewers
Triage Team - Commits
- R5563:e543dae455cc: Initial commit of rocm-compilersupport for T6614
Compiled rest of rocm with it
Diff Detail
Diff Detail
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 3766 Build 3766: arc lint + arc unit
Event Timeline
Comment Actions
@Jacek I get the following error while building:
In file included from /home/build/YPKG/root/rocm-compilersupport/build/ROCm-CompilerSupport-rocm-5.1.0/lib/comgr/src/comgr-metadata.cpp:36: /home/build/YPKG/root/rocm-compilersupport/build/ROCm-CompilerSupport-rocm-5.1.0/lib/comgr/src/comgr-metadata.h:40:10: fatal error: 'llvm/MC/TargetRegistry.h' file not found #include "llvm/MC/TargetRegistry.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[2]: *** [CMakeFiles/amd_comgr.dir/build.make:160: CMakeFiles/amd_comgr.dir/src/comgr-metadata.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /home/build/YPKG/root/rocm-compilersupport/build/ROCm-CompilerSupport-rocm-5.1.0/lib/comgr/src/comgr-disassembly.cpp:37:10: fatal error: 'llvm/MC/TargetRegistry.h' file not found #include "llvm/MC/TargetRegistry.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[2]: *** [CMakeFiles/amd_comgr.dir/build.make:118: CMakeFiles/amd_comgr.dir/src/comgr-disassembly.cpp.o] Error 1 In file included from /home/build/YPKG/root/rocm-compilersupport/build/ROCm-CompilerSupport-rocm-5.1.0/lib/comgr/src/comgr.cpp:41: /home/build/YPKG/root/rocm-compilersupport/build/ROCm-CompilerSupport-rocm-5.1.0/lib/comgr/src/comgr-metadata.h:40:10: fatal error: 'llvm/MC/TargetRegistry.h' file not found #include "llvm/MC/TargetRegistry.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[2]: *** [CMakeFiles/amd_comgr.dir/build.make:90: CMakeFiles/amd_comgr.dir/src/comgr.cpp.o] Error 1 /home/build/YPKG/root/rocm-compilersupport/build/ROCm-CompilerSupport-rocm-5.1.0/lib/comgr/src/comgr-objdump.cpp:61:10: fatal error: 'llvm/MC/TargetRegistry.h' file not found #include "llvm/MC/TargetRegistry.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[2]: *** [CMakeFiles/amd_comgr.dir/build.make:174: CMakeFiles/amd_comgr.dir/src/comgr-objdump.cpp.o] Error 1 /home/build/YPKG/root/rocm-compilersupport/build/ROCm-CompilerSupport-rocm-5.1.0/lib/comgr/src/comgr-compiler.cpp:72:10: fatal error: 'llvm/MC/TargetRegistry.h' file not found #include "llvm/MC/TargetRegistry.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[2]: *** [CMakeFiles/amd_comgr.dir/build.make:76: CMakeFiles/amd_comgr.dir/src/comgr-compiler.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:303: CMakeFiles/amd_comgr.dir/all] Error 2 make: *** [Makefile:166: all] Error 2 Command '['/bin/bash', '--norc', '--noprofile', '/tmp/ypkg-buildobNC2w']' returned non-zero exit status 2
Comment Actions
This is a valid point though. I had it patched for LLVM 13, but decided to remove it and wait for LLVM 14, as my GPU isn't supported in 13 and I can't test it.
You can get the patch for building with 13 here though, if you want to try it.
I hope that is all that you need.
pspec_x86_64.xml | ||
---|---|---|
26 | Probably don't need to ship these text files |