From e2de00876a7033b6923f912af8d2b0bbd100e113 Mon Sep 17 00:00:00 2001 From: Jan Zielinski Date: Wed, 9 Jun 2021 14:16:23 +0200 Subject: gallium/swr: Remove common code and build options This commit removes all OpenSWR references from common Mesa code and build system. Reviewed-by: Dylan Baker Part-of: --- android/Android.mk | 4 +--- android/mesa3d_cross.mk | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'android') diff --git a/android/Android.mk b/android/Android.mk index 846907d553f..430b01a26b6 100644 --- a/android/Android.mk +++ b/android/Android.mk @@ -44,7 +44,7 @@ LOCAL_HEADER_LIBRARIES := libnativebase_headers hwvulkan_headers libbacktrace_he MESON_GEN_PKGCONFIGS := backtrace cutils expat hardware libdrm:$(LIBDRM_VERSION) nativewindow sync zlib:1.2.11 libelf LOCAL_CFLAGS += $(BOARD_MESA3D_CFLAGS) -ifneq ($(filter swr swrast,$(BOARD_MESA3D_GALLIUM_DRIVERS) $(BOARD_MESA3D_VULKAN_DRIVERS)),) +ifneq ($(filter swrast,$(BOARD_MESA3D_GALLIUM_DRIVERS) $(BOARD_MESA3D_VULKAN_DRIVERS)),) ifeq ($(BOARD_MESA3D_FORCE_SOFTPIPE),) MESON_GEN_LLVM_STUB := true endif @@ -85,8 +85,6 @@ endif ifneq ($(MESON_GEN_LLVM_STUB),) MESON_LLVM_VERSION := 12.0.0 -# Required for swr gallium target -MESON_LLVM_IRBUILDER_PATH := external/llvm-project/llvm/include/llvm/IR/IRBuilder.h LOCAL_SHARED_LIBRARIES += libLLVM12 endif diff --git a/android/mesa3d_cross.mk b/android/mesa3d_cross.mk index e211cb8f269..b3cc09496a0 100644 --- a/android/mesa3d_cross.mk +++ b/android/mesa3d_cross.mk @@ -257,8 +257,7 @@ ifneq ($(MESON_GEN_LLVM_STUB),) mkdir -p $(dir $@)/subprojects/llvm/ echo -e "project('llvm', 'cpp', version : '$(MESON_LLVM_VERSION)')\n" \ "dep_llvm = declare_dependency()\n" \ - "has_rtti = false\n" \ - "irbuilder_h = files('$(AOSP_ABSOLUTE_PATH)/$(MESON_LLVM_IRBUILDER_PATH)')" > $(dir $@)/subprojects/llvm/meson.build + "has_rtti = false\n" > $(dir $@)/subprojects/llvm/meson.build endif $(MESON_GEN_NINJA) $(MESON_BUILD) -- cgit v1.2.3