From 8f3d32ced7a3413a24a494e575949eebab5c85f6 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Tue, 22 Dec 2015 13:26:51 +0100 Subject: android: add support for LLVM 3.7.0 for marshmallow The changes add support for LLVM 3.7.0 for marshmallow, while keeping support for LLVM 3.5.0 with lollipop. MESA_LLVM_VERSION_PATCH=0 is compatible with radeonsi build in lollipop-x86, since mesa 11.0 and newer do not check anymore for LLVM 3.5.2 This changes, combined with specific R600 patches for external/llvm, enable building gallium radeonsi driver in marshmallow-x86. The patch is applicable to 11.2.0devel, 11.1 and 11.0 branches. --- Android.common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Android.common.mk') diff --git a/Android.common.mk b/Android.common.mk index 8a752a5..98be839 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -76,7 +76,7 @@ endif ifeq ($(MESA_ENABLE_LLVM),true) LOCAL_CFLAGS += \ - -DHAVE_LLVM=0x0305 -DMESA_LLVM_VERSION_PATCH=2 \ + -DHAVE_LLVM=0x030$(if $(filter 5,$(MESA_ANDROID_MAJOR_VERSION)),5,7) -DMESA_LLVM_VERSION_PATCH=0 \ -D__STDC_CONSTANT_MACROS \ -D__STDC_FORMAT_MACROS \ -D__STDC_LIMIT_MACROS -- cgit v1.1