[Mesa-dev] [PATCH] gallivm: Fix build after LLVM commit 211259

Tom Stellard tom at stellard.net
Fri Jun 20 17:17:25 PDT 2014


On Fri, Jun 20, 2014 at 07:14:43PM -0500, Aaron Watry wrote:
> Signed-off-by: Aaron Watry <awatry at gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
> ---
>  src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
> index df26883..413a0c2 100644
> --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
> +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
> @@ -51,7 +51,9 @@
>  #include <llvm/MC/MCInstPrinter.h>
>  #include <llvm/MC/MCRegisterInfo.h>
>  
> -#if HAVE_LLVM >= 0x0303
> +#if HAVE_LLVM >= 0x0305
> +#define OwningPtr std::unique_ptr
> +#elif HAVE_LLVM >= 0x0303
>  #include <llvm/ADT/OwningPtr.h>
>  #endif
>  
> -- 
> 1.9.1
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list