[Mesa-dev] SCons build broken

Eric Anholt eric at anholt.net
Mon Nov 12 21:26:11 PST 2012


Brian Paul <brianp at vmware.com> writes:

> On 11/12/2012 05:43 PM, Brian Paul wrote:
>>
>> Broken by:
>>
>> commit a665cf1226b80ec52a0c1a4a38378df4389e8ebf
>> Author: Eric Anholt <eric at anholt.net>
>> Date: Tue Nov 6 23:18:38 2012 -0800
>>
>> automake: Merge *_CXX_FILES variables in the glsl build.
>>
>> Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
>> Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
>>
>>
>> I still haven't figured out what's wrong...
>>
>> Just type 'scons' to try it.
>
> OK, this change seems to fix it:
>
>
> diff --git a/src/glsl/Makefile.sources b/src/glsl/Makefile.sources
> index 6c031b6..5e098fc 100644
> --- a/src/glsl/Makefile.sources
> +++ b/src/glsl/Makefile.sources
> @@ -83,8 +83,7 @@ LIBGLSL_FILES = \
>          $(GLSL_SRCDIR)/opt_tree_grafting.cpp \
>          $(GLSL_SRCDIR)/s_expression.cpp \
>          $(GLSL_SRCDIR)/strtod.c \
> -       $(GLSL_SRCDIR)/ralloc.c \
> -       $()
> +       $(GLSL_SRCDIR)/ralloc.c
>
>   # glsl_compiler
>
>
>
> Is there some special meaning to the $() line that I removed?

It's something I've used before so that you don't need to track the
trailing \s as you add and remove lines in the lists, which bit me
several times while writing the series.

Yay multiple build systems.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121112/4a0016c6/attachment.pgp>


More information about the mesa-dev mailing list