source: INSTALL @ d6c59bce

Last change on this file since d6c59bce was d6c59bce, checked in by Michael Brooks <mlbrooks@…>, 10 days ago

Starter for developer roll-on instructions.

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[4200b7e]1cfa-cc: Cforall to C Trans-compiler
[51b7345]2======================================
3
[b87a5ed]4Cforall is built using GNU Make and the GNU Autoconf system.  It also requires
[4200b7e]5g++ version >= 6, bison and flex.  On systems where GNU Make is the default
[08061589]6make, the system is built by entering the commands:
[51b7345]7
[4200b7e]8For developers using the root git:
[d6cd371]9
[4200b7e]10  $ ./autogen.sh
[e75b753]11  $ ./configure [ --prefix=/some/directory ]
[4200b7e]12  $ make -j 8 install
[d6c59bce]13  $ cfa
[51b7345]14
[7de2affc]15For users using the distributed tarball / github:
[d6cd371]16
[4200b7e]17  $ ./configure
18  $ make -j 8 install
[d6c59bce]19  $ cfa
[4200b7e]20
21where 8 is the number of CPUs on your computer.
22
[d6c59bce]23The above instructions produce an in-tree, installed build, where intermediate
24binaries share the same folders as their sources, and where the final result
25becomes an "official" CFA version for the current environment.  For developers
26preferring an isolated side-by-side build, where all binaries are separated
27from sources, where it is possible to build multiple configurations from a
28common set of sources, and where no "official" CFA version is designated:
29
30  $ ./autogen.sh
31  $ mkdir ../build
32  $ cd ../build
33  $ ../cfa-cc/configure
34  $ make -j 8
35  $ ./driver/cfa
36
[d6cd371]37
[e75b753]38Options for configure
[4200b7e]39======================================
[e75b753]40The script 'configure' accepts many command-line arguments.  Run
41
42  $ ./configure --help
43
44to list them.  The most common argument is:
45
46  --prefix=/some/directory controls the path prefix common to all installed
47    cfa-cc components.  Components are installed in directories bin and lib.
48    If unspecified, prefix defaults to /usr/local.  To use (a subdirectory of)
49    your home directory, ${HOME}/some/dir, but do not put quotes around the
50    directory path; Cforall may appear to build, but the installed version may
51    not work properly.
[4200b7e]52
53
54Build Test
55======================================
56
[a3bd827]57  $ cd ./tests
[061b001]58  $ make -j 8 all-local
[4200b7e]59
60The tests take about 2-5 minutes and can be stopped at any time.
Note: See TracBrowser for help on using the repository browser.