| 
            Last change
 on this file since fbe3f03 was             e75b753, checked in by Peter A. Buhr <pabuhr@…>, 4 years ago           | 
        
        
          | 
             
fix conflict 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            1.3 KB
           | 
        
      
      
| Line |   | 
|---|
| 1 | cfa-cc: Cforall to C Trans-compiler
 | 
|---|
| 2 | ======================================
 | 
|---|
| 3 | 
 | 
|---|
| 4 | Cforall is built using GNU Make and the GNU Autoconf system.  It also requires
 | 
|---|
| 5 | g++ version >= 6, bison and flex.  On systems where GNU Make is the default
 | 
|---|
| 6 | make, the system is built by entering the commands:
 | 
|---|
| 7 | 
 | 
|---|
| 8 | For developers using the root git:
 | 
|---|
| 9 | 
 | 
|---|
| 10 |   $ ./autogen.sh
 | 
|---|
| 11 |   $ ./configure [ --prefix=/some/directory ]
 | 
|---|
| 12 |   $ make -j 8 install
 | 
|---|
| 13 | 
 | 
|---|
| 14 | For users using the distributed tarball / github:
 | 
|---|
| 15 | 
 | 
|---|
| 16 |   $ ./configure
 | 
|---|
| 17 |   $ make -j 8 install
 | 
|---|
| 18 | 
 | 
|---|
| 19 | where 8 is the number of CPUs on your computer.
 | 
|---|
| 20 | 
 | 
|---|
| 21 | 
 | 
|---|
| 22 | Options for configure
 | 
|---|
| 23 | ======================================
 | 
|---|
| 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.
 | 
|---|
| 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.