Last change
on this file since a1f0cb6 was
e75b753,
checked in by Peter A. Buhr <pabuhr@…>, 3 years ago
|
fix conflict
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[4200b7e] | 1 | cfa-cc: Cforall to C Trans-compiler |
---|
[51b7345] | 2 | ====================================== |
---|
| 3 | |
---|
[b87a5ed] | 4 | Cforall is built using GNU Make and the GNU Autoconf system. It also requires |
---|
[4200b7e] | 5 | g++ version >= 6, bison and flex. On systems where GNU Make is the default |
---|
[08061589] | 6 | make, the system is built by entering the commands: |
---|
[51b7345] | 7 | |
---|
[4200b7e] | 8 | For developers using the root git: |
---|
[d6cd371] | 9 | |
---|
[4200b7e] | 10 | $ ./autogen.sh |
---|
[e75b753] | 11 | $ ./configure [ --prefix=/some/directory ] |
---|
[4200b7e] | 12 | $ make -j 8 install |
---|
[51b7345] | 13 | |
---|
[7de2affc] | 14 | For users using the distributed tarball / github: |
---|
[d6cd371] | 15 | |
---|
[4200b7e] | 16 | $ ./configure |
---|
| 17 | $ make -j 8 install |
---|
| 18 | |
---|
| 19 | where 8 is the number of CPUs on your computer. |
---|
| 20 | |
---|
[d6cd371] | 21 | |
---|
[e75b753] | 22 | Options for configure |
---|
[4200b7e] | 23 | ====================================== |
---|
[e75b753] | 24 | The script 'configure' accepts many command-line arguments. Run |
---|
| 25 | |
---|
| 26 | $ ./configure --help |
---|
| 27 | |
---|
| 28 | to list them. The most common argument is: |
---|
| 29 | |
---|
| 30 | --prefix=/some/directory controls the path prefix common to all installed |
---|
| 31 | cfa-cc components. Components are installed in directories bin and lib. |
---|
| 32 | If unspecified, prefix defaults to /usr/local. To use (a subdirectory of) |
---|
| 33 | your home directory, ${HOME}/some/dir, but do not put quotes around the |
---|
| 34 | directory path; Cforall may appear to build, but the installed version may |
---|
| 35 | not work properly. |
---|
[4200b7e] | 36 | |
---|
| 37 | |
---|
| 38 | Build Test |
---|
| 39 | ====================================== |
---|
| 40 | |
---|
| 41 | $ cd ./test |
---|
| 42 | $ make -j 8 all-tests |
---|
| 43 | |
---|
| 44 | The tests take about 2-5 minutes and can be stopped at any time. |
---|
Note: See
TracBrowser
for help on using the repository browser.