[Mesa-dev] [PATCH 1/2] gallivm: Fix build with LLVM >= r180063

Jose Fonseca jfonseca at vmware.com
Tue Apr 23 08:23:22 PDT 2013


Looks good to me.

Jose

----- Original Message -----
> From: Tom Stellard <thomas.stellard at amd.com>
> 
> ---
> 
> src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 ++++
>  src/gallium/auxiliary/gallivm/lp_bld_misc.cpp  | 4 ++++
>  2 files changed, 8 insertions(+)
> 
> diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
> b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
> index ac8e10b..86617d4 100644
> --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
> +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
> @@ -56,6 +56,10 @@
>  #include <llvm/MC/MCRegisterInfo.h>
>  #endif /* HAVE_LLVM >= 0x0301 */
>  
> +#if HAVE_LLVM >= 0x0303
> +#include <llvm/ADT/OwningPtr.h>
> +#endif
> +
>  #include "util/u_math.h"
>  #include "util/u_debug.h"
>  
> diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
> b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
> index 024819e..717afa7 100644
> --- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
> +++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
> @@ -67,6 +67,10 @@
>  #include <llvm/Target/TargetSelect.h>
>  #endif /* HAVE_LLVM < 0x0300 */
>  
> +#if HAVE_LLVM >= 0x0303
> +#include <llvm/Wrap.h>
> +#endif
> +
>  #include "pipe/p_config.h"
>  #include "util/u_debug.h"
>  #include "util/u_cpu_detect.h"
> --
> 1.8.1.5
> 
> _______________________________________________
> 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