Another build system for Rakudo

François Perrad francois.perrad at gadz.org
Fri Nov 13 23:02:34 UTC 2009


I write another build system for Rakudo (master branch).
It is a simple PIR script (setup.pir) which uses a recent library
distutils.pbc (installed with Parrot).
This library is inspired by the Python Distutils
(http://docs.python.org/distutils/).

Basically, that removes the Configure step and the generated Makefiles.

The standard rules for building/testing/installing/cleaning are coded
in the library distutils,
and in a simple case the script setup.pir contains only data and a
call to the function setup(),
in a complex case (like Rakudo) specific rules are added in the script.

Others examples of setup.pir are referenced in the head of the source
of distutils.pir,
see https://trac.parrot.org/parrot/browser/trunk/runtime/parrot/library/distutils.pir

Plumage already handles setup.pir

Obviously, setup.pir could be rewrite in setup.nqp

François.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup.pir
Type: application/octet-stream
Size: 9194 bytes
Desc: not available
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20091114/2d287de6/attachment-0001.obj>


More information about the parrot-dev mailing list