Fetch this project:
The following tools are required to build this program:
C99
development tools and the GNU libc.lex
/flex
>= 2.5.37
yacc
/byacc
>= 1.9 20130925
or GNU Bison
>= 3.0.2
libgmp
>= 5.0.2
libisl
>= 0.14
The following tools are optionnal:
doxygen
graphviz
/dot
Install the required tools:
On Ubuntu 14.04:
Install the optionnal tools:
Install ISL 0.14:
If you do not wish to install ISL into a "standard" location, or do not have sufficient privileges, do not forget to set LDLIBS
when compiling noclock
and to set LD_LIBRARY_PATH
when running noclock
.
For instance:
Install the required tools:
Install the optionnal tools:
Building has been tested on the following setups:
OS | C Compiler | Yacc | Lex | ISL | GMP |
---|---|---|---|---|---|
Fedora 21 | gcc 4.9.2 | yacc 1.9 | 2.5.37 | 0.14 | 6.0.0 |
Fedora 21 | clang 3.5.0 | yacc 1.9 | 2.5.37 | 0.14 | 6.0.0 |
Fedora 21 | gcc 4.9.2 | GNU Bison 3.0.2 | 2.5.37 | 0.14 | 6.0.0 |
Ubuntu 12.04 | gcc 4.6.3 | yacc 1.9 | 2.5.35 | 0.14 | 5.0.2 |
Ubuntu 12.04 | gcc 4.6.3 | GNU Bison 2.5 | 2.5.35 | 0.14 | 5.0.2 |
Ubuntu 14.04 | gcc 4.8.2 | yacc 1.9 | 2.5.35 | 0.14 | 5.0.2 |
Ubuntu 14.04 | gcc 4.8.2 | GNU Bison 3.0.2 | 2.5.35 | 0.14 | 5.1.3 |
The binary will be located in build/bin
.
One can explicitly compile the project in debug or in release mode:
By default, the Makefile
uses gcc
, lex
and yacc
. This can be overriden using the default GNU make variables. For instance:
Once building is successful, the following command will install the project, if root privileges are available (or at least if the current user is allowed to write to /usr/local
):
To specify another location:
A manpage is provided. If the program has been installed via make install
, the manpage should most likely available via:
Otherwise, it can be found in the man/man1
:
Help can also be printed via the program using the --help
or -h
options.
Developper documentation is available via the use of Doxygen
. The following commands can be used to generate the documentation:
The generated documentation shall be located in build/doc
.
Note that there are two Doxyfiles, Doxyfile
and Doxyfile_full
. As the file names suggest, the Doxyfile_full
enables much more options that its light counterpart Doxyfile
. To specify which version to use:
Some example programs are located in examples/
, but please note that examples/E10.x10p2
does not work.
If the program has been install via make install
, it should be available in $PATH
:
Otherwise, the binary is located in build/bin
:
To remove clocks from an X10 program (for instance examples/E1.x10p2
):
To store the result in another file:
Input and output files can also be specified using -i
and -o
(or --input
and --output
):
If life is sad, colours can be disabled:
Copyright (c) 2015 Harenome RAZANAJATO RANAIVOARIVONY
This work is licensed under the MIT License. See the COPYING
file for further information.