Hi, I'm an update about external/llvm status
android-n-preview-2 switched to llvm 3.8.0, the following branch has AMDGPU patches, even if named after marshamallow, changes were made on top llvm 3.8.0, after aosp switched with android-n-preview2: https://github.com/maurossi/llvm/tree/marshmallow-x86_llvm380_WIP2 NOTE: the latest branch is untested because I could not complete build with marshmallow and I did not dare to try building master, before Chih-Wei porting. The important thing is that between n-preview-1 and n-preview-2 (and AOSP master before N-preview2) moved to llvm 3.8.0, but I found in three distinct trials (master, n-preview-1, n-preview-2) that llvm3.8.0 would break marshmallow-x86 build, I have record of the build errors if needed. As a final note I would recommend not to use the same llvm version for different Android versions, we tried that in the past and there were several build breakages, so lollipop-x86 requires llvm 3.5.0, marshmallow-x86 requires 3.7.0 and android-n will require 3.8.0 Mauro 2016-04-30 22:31 GMT+02:00 Paulo Sergio <pstg...@gmail.com>: > > > 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