On Sun, 2014-09-07 at 15:38 -0300, Fernando de Oliveira wrote: > On 07-09-2014 14:40, Pierre Labastie wrote: > > > If OwningPtr.h is not installed by llvm-3.5.0, we either need to supply it > > or > > to find a patch for MesaLib. > > $ ls -l /usr/include/llvm/ADT/OwningPtr.h > -rw-r--r-- 1 root root 3973 Jun 17 17:08 /usr/include/llvm/ADT/OwningPtr.h > > $ paco -dd llvm > 17-Jun-2014 17:05 llvm-3.4 > 17-Jun-2014 17:09 llvm-3.4.2 > 06-Sep-2014 11:48 llvm-3.5.0 > > So, we need to supply it or a patch. But I think Igor is already taking > care of it. > > -- > []s, > Fernando
Hello Fernando, On that ticket that ojab submitted for the update to llvm a patch was supplied. Looking at the patch it addresses this exact issue: 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 If I am reading this correctly the # signs are commenting it out. Regards, Christopher. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
