From: Mauro Rossi Date: Sat, 21 Sep 2019 15:38:52 +0000 (+0200) Subject: android: aco: fix undefined template 'std::__1::array' build errors X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c24ad565ae7c19417f381ddfcb5ba6bff0934878;p=mesa.git android: aco: fix undefined template 'std::__1::array' build errors Fixes a few building errors similar to the following: In file included from external/mesa/src/amd/compiler/aco_instruction_selection.cpp:26: In file included from external/libcxx/include/algorithm:639: external/libcxx/include/utility:321:9: error: implicit instantiation of undefined template 'std::__1::array' _T2 second; ^ Fixes: 93c8ebf ("aco: Initial commit of independent AMD compiler") Signed-off-by: Mauro Rossi --- diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp index 7b5dc7f7426..b08a4008330 100644 --- a/src/amd/compiler/aco_instruction_selection.cpp +++ b/src/amd/compiler/aco_instruction_selection.cpp @@ -24,6 +24,7 @@ */ #include +#include #include #include "aco_ir.h" diff --git a/src/amd/compiler/aco_instruction_selection_setup.cpp b/src/amd/compiler/aco_instruction_selection_setup.cpp index 3a276035ba5..a1b2e4a7e57 100644 --- a/src/amd/compiler/aco_instruction_selection_setup.cpp +++ b/src/amd/compiler/aco_instruction_selection_setup.cpp @@ -22,6 +22,7 @@ * */ +#include #include #include "aco_ir.h" #include "nir.h" diff --git a/src/amd/compiler/aco_print_asm.cpp b/src/amd/compiler/aco_print_asm.cpp index 31079aa1c4a..d3f4c3cb40d 100644 --- a/src/amd/compiler/aco_print_asm.cpp +++ b/src/amd/compiler/aco_print_asm.cpp @@ -1,4 +1,4 @@ - +#include #include #include "aco_ir.h" #include "llvm-c/Disassembler.h" diff --git a/src/amd/compiler/aco_register_allocation.cpp b/src/amd/compiler/aco_register_allocation.cpp index d55f1febc65..47ea932f115 100644 --- a/src/amd/compiler/aco_register_allocation.cpp +++ b/src/amd/compiler/aco_register_allocation.cpp @@ -27,6 +27,7 @@ */ #include +#include #include #include #include diff --git a/src/amd/compiler/aco_validate.cpp b/src/amd/compiler/aco_validate.cpp index 0988d66df3a..9919d0a585d 100644 --- a/src/amd/compiler/aco_validate.cpp +++ b/src/amd/compiler/aco_validate.cpp @@ -24,6 +24,7 @@ #include "aco_ir.h" +#include #include namespace aco {