> > I'm on AOSP master which probably means a different LLVM version. > > First, I had to enable several LLVM libs to build for the target and > > not just the host. In mesa, I had to set the LLVM version to 3.7 from > > 3.5, add libLLVMExecutionEngine to libmesa_nir and use libLLVM shared > > lib instead of r600 static libraries. I'm surprised similar changes > > aren't needed. > > > From memory Android-x86 (and/or Mauro) did have some LLVM and mesa (?) > changes to get LLVM and radeon(s) working. I think that most/all of > this work is over at github - https://github.com/maurossi
When we were working to enable radeonsi on Android, we basically added lib/Target/R600/ target on Android.mk files and it's dependencies, as these were not included by AOSP by default See [1] [1] - https://github.com/maurossi/llvm/commit/571b37049a813fdb02631a20246ee3a4bc99760b _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev