Skip to content

Commit

Permalink
doc(README):grp {full,partial,un}supported compilr
Browse files Browse the repository at this point in the history
  • Loading branch information
rouson committed Mar 5, 2024
1 parent d40a8f9 commit 0d11ce5
Showing 1 changed file with 37 additions and 13 deletions.
50 changes: 37 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,42 +91,66 @@ cd smart-pointer
```
followed by one of the commands below corresponding to your compiler choice.

### Numerical Algorithms Group
### Fully supported compilers
The following compilers pass all Smart-Pointers tests.

#### GCC `gfortran`
```
fpm test
```

#### LLVM `flang`
```
fpm test --compiler flang-new
```

#### NAG `nagfor`
```
fpm test --compiler nagfor --flag -fpp
```

### Intel
### Partially supported compilers
The following compilers pass most Smart-Pointers tests.

#### HPE: Cray Compiler Environment (CCE)
Building with `fpm` using the CCE `ftn` compiler wrapper requires an additional
wrapper to identify the wrapped compiler. Place a file named `crayftn.sh` at the
front of your `PATH` environment variable containing the following contents:
```
fpm test --compiler ifort
#!/bin/bash
ftn "$@"
```
or
Then test with the following command
```
fpm test --compiler ifx
fpm test --compiler crayftn.sh
```
where the latter requires `fpm` 0.10.0 or later.

### IBM
#### IBM
```
fpm test --archiver ar --compiler xlf2008_r --flag -DXLF
```

### GCC
#### Intel `ifort`
```
fpm test
fpm test --compiler ifort
```

### LLVM
#### Intel `ifx`
```
fpm test --compiler flang-new
fpm test --compiler ifx
```
where the latter requires `fpm` 0.10.0 or later.

### NVIDIA
#### NVIDIA `nvfortran`
```
fpm test --compiler nvfortran --flag -Mpreprocess
```

### AMD
### Unsupported compiler
The following compiler cannot build the Smart-Pointers library.

#### AMD `flang`
```
fpm test --compiler flang --flag -cpp
```
Expand Down

0 comments on commit 0d11ce5

Please sign in to comment.