[Mesa-dev] [PATCH] glsl: Autogenerate builtin_functions.cpp as part of the build process.
Andy Furniss
andyqos at ukfsn.org
Wed Jan 12 04:09:26 PST 2011
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
More information about the mesa-dev
mailing list