Those functions are only supported by LLVM 3.7 and later, and if you have such a version, the AMDGPU backend must be enabled in your LLVM build.
Marek On Thu, Mar 10, 2016 at 10:04 AM, Chih-Wei Huang <cwhu...@android-x86.org> wrote: > Hi devs, > On building 64-bit Android-x86 mesa with amdgpu support, > we got some errors about the symbols LLVMInitializeAMDGPU* > are not defined. (missing prototypes) > > It's easy to fix the errors by adding the definition of > the function prototypes. > However, I'm curious in which side it should be fixed? > The mesa or llvm? > > Does the llvm forgot to provide a header for these functions? > Or the functions are internal APIs of llvm that should not be used > by mesa directly? > > Any comment? > > > -- > Chih-Wei > Android-x86 project > http://www.android-x86.org > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev