This is a SCons tool for compiling and linking Chapel source code. Chapel is a parallel programming language being developed by Cray Inc in association with University of Washington and others.

Table of Contents:


SCons comes with many tools as standard, C, C++, Fortran, D, LaTeX, etc. However there are many languages for which there is no support "out of the box". Chapel is one of those languages. This tool is therefore an "add in" to provide SCons support for building applications written in Chapel.


You will need to clone this Mercurial repository and then possibly additionally provide some links. SCons has a number of ways of adding new tools depending on whether you want them available only for a single project, for all the projects of an individual user, or for all projects on a given system. The location to which the clone should be made depends on which of these situations you want to support.

Whichever location you choose the command will be:

$ hg clone http://bitbucket.org/russel/scons_chapel chapel

the name of the target directory will become the name of the tool for your situation. In this case "chapel" is the target directory name and hence "chapel" will be the name of the tool.


Currently there is a single builder provided by the tool "ChapelProgram". Chapel emphasizes using a single compilation action and providing all code to be compiled as source, so there is no need for a SCons infrastructure to handle compilation of individual modules.

Here is an example of usage:

e = Environment(tools=['chapel'])

or alternatively:

e = Environment(tools=['chapel'])
e.ChapelProgram('helloWorld', ['helloWorld.chpl'])


Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.