[Mesa-dev] [PATCH] glsl: Autogenerate builtin_functions.cpp as part of the build process.

Corbin Simpson mostawesomedude at gmail.com
Wed Jan 12 11:37:08 PST 2011


Argfl. Sending to list as well.

On Wed, Jan 12, 2011 at 11:36 AM, Corbin Simpson
<mostawesomedude at gmail.com> wrote:
> You're using Python 2.5 and this script needs Python 2.6.
>
> Do we want to keep Python 2.5 compat?
>
> ~ C.
>
> On Wed, Jan 12, 2011 at 4:09 AM, Andy Furniss <andyqos at ukfsn.org> wrote:
>> Kenneth Graunke wrote:
>>>
>>> Now that this works with both make and SCons, builtin_function.cpp no
>>> longer needs to live in the repository.
>>
>> After updating talloc to avoid a build error I am now getting -
>>
>> Regenerating builtin_function.cpp...
>> python -t -O -O builtins/tools/generate_builtins.py
>> /home/andy/Src/Mesa-git/mesa/src/glsl/builtin_compiler >
>> builtin_function.cpp
>> builtins/tools/generate_builtins.py:25: Warning: 'with' will become a
>> reserved keyword in Python 2.6
>>  File "builtins/tools/generate_builtins.py", line 25
>>    with open(filename) as f:
>>            ^
>> SyntaxError: invalid syntax
>> make[2]: *** [builtin_function.cpp] Error 1
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>>
>
>
>
> --
> When the facts change, I change my mind. What do you do, sir? ~ Keynes
>
> Corbin Simpson
> <MostAwesomeDude at gmail.com>
>



-- 
When the facts change, I change my mind. What do you do, sir? ~ Keynes

Corbin Simpson
<MostAwesomeDude at gmail.com>


More information about the mesa-dev mailing list