[Intel-gfx] [PATCH i-g-t v2] igt_core: add igt_constructor

Chris Wilson chris at chris-wilson.co.uk
Wed Jan 4 17:29:19 UTC 2017


On Wed, Jan 04, 2017 at 03:20:49PM -0200, Paulo Zanoni wrote:
> Em Qua, 2016-12-21 às 15:50 -0500, Lyude escreveu:
> > This is a simple macro for executing a block of code at the beginning
> > of
> > intel-gpu-tools, before any tests have been ran. Useful for
> > initialization of global resources used in IGT libraries.
> 
> IGT doesn't compile anymore here. Reverting this patch fixes it for me.
> 
> On a brand new git clone, if I just run autogen.sh, I get this:
> 
> ./configure: line 6319: syntax error near unexpected token
> `constructor'
> ./configure: line 6319: `AX_GCC_FUNC_ATTRIBUTE(constructor)'
> 
> The gcc/autoconf/etc versions are from Fedora 24.
> 
> I'm not sure what I'm missing here...

m4/ax_gcc_func_attribute.m4

Now supplied for us luddites.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list