[Mesa-dev] [PATCH] android: amd/common: fix missing include path
Mauro Rossi
issor.oruam at gmail.com
Sun May 5 16:54:34 UTC 2019
Fixes the following building error in Android:
In file included from external/mesa/src/amd/common/ac_llvm_helper.cpp:34:
In file included from external/mesa/src/amd/common/ac_llvm_build.h:30:
In file included from external/mesa/src/compiler/nir/nir.h:40:
In file included from external/mesa/src/compiler/nir_types.h:36:
external/mesa/src/compiler/glsl_types.h:37:10: fatal error: 'main/config.h' file not found
^~~~~~~~~~~~~~~
1 error generated.
Fixes: bd4c661 ("ac,ac/nir: use a better sync scope for shared atomics")
Signed-off-by: Mauro Rossi <issor.oruam at gmail.com>
---
src/amd/Android.common.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/amd/Android.common.mk b/src/amd/Android.common.mk
index 4ef7f176e9..29a294adcd 100644
--- a/src/amd/Android.common.mk
+++ b/src/amd/Android.common.mk
@@ -55,6 +55,7 @@ LOCAL_C_INCLUDES := \
$(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_nir,,)/nir \
$(MESA_TOP)/src/gallium/include \
$(MESA_TOP)/src/gallium/auxiliary \
+ $(MESA_TOP)/src/mesa \
$(intermediates)/common
LOCAL_EXPORT_C_INCLUDE_DIRS := \
--
2.20.1
More information about the mesa-dev
mailing list