GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

PySoy: Improve Orc Waf Tool

completed by: Matt Habel

mentors: Amaury Medeiros, Arc Riley, Tony Young, David Czech, Mayank Singh

Currently our Orc Waf Tool (orc.py in libsoy) always compiles to assembly. Extend the current tool to detect what platform libsoy is being compiled for (x86, amd64, arm) and set the correct options. For x86, currently, this means outputting .orc.c instead of .s and linking liborc. Using build.pysoy.org will still only be available for compiling to assembly as liborc is required locally for linking generated .orc.c files.

User set options should allow overriding this for any platform, including forcing asm with build.pysoy.org (where currently remote building is only used with liborc is not found locally.

While working on this task you should join and remain in #PySoy on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen. This is especially important for this task as other GCI tasks may be worked on to modify the same function.

When you've done, commit your work and post the resulting changeset url to this task.