pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: MesaLib + llvm + ubuntu



On Tue, Mar 21, 2017 at 01:58:11PM +0000, Patrick Welche wrote:
> According to graphics/MesaLib/options.mk:
> 
> ----------------------------
> revision 1.54
> date: 2017-03-20 23:59:01 +0000;  author: gdt;  state: Exp;  lines: +2 -2;  comm
> itid: DHsahsE8gDYyDlKz;
> Do not suggest llvm option on Darwin
> 
> With llvm, the build fails, as apparently llvm turns on including
> multiple libraries that do not build.  (Until recently, this option
> was not enabled by default, so this change is essentially omitting
> Darwin from the change to default to llvm in i386/x86_64.)
> 
> Thanks to maya@ for explaining/suggesting.
> ----------------------------
> 
> I think I see the same on Ubuntu 16.04.2 LTS:
> 
> In file included from draw/draw_llvm.c:45:0:
> ./gallivm/lp_bld_intr.h:63:20: error: unknown type name 'LLVMAttribute'
>                     LLVMAttribute attr);
>                     ^
> 
> Add Linux to the
>         ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin"
> list?

Successful compile on ubuntu after Mark's update to MesaLib-11.2.2nb5.

Thanks!

Patrick


Home | Main Index | Thread Index | Old Index