Android: drop static linking of R600 LLVM libraries
authorMauro Rossi <issor.oruam@gmail.com>
Wed, 3 May 2017 19:35:13 +0000 (14:35 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 11 May 2017 12:52:20 +0000 (13:52 +0100)
commit7e907d8f7f4490e53775267696523a092a8f6363
tree034a5370fd7949650407943c570594e9b65c7999
parent0b31c3adc141e35e59166e01486c3942a107841a
Android: drop static linking of R600 LLVM libraries

Inspired by Chih-Wei Huang and Zhen Wu similar patches

Linking against llvm with both static and shared may be avoided,
provided that libLLVM shared library for device supports
whole static R600/AMDGPU libraries, necessary for radeonsi/amdgpu.

Complementary changes, limited to android external/llvm project
are necessary to correclty build libLLVM

Tested with marshmallow-x86 and nougat-x86 builds

Reviewed-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/targets/dri/Android.mk