mirror of https://github.com/ecmwf/eccodes.git
Show the commands using triple back-tick
This commit is contained in:
parent
72edd846f2
commit
7e1d205b00
23
README.md
23
README.md
|
@ -29,21 +29,28 @@ INSTALLATION
|
||||||
1. Download ecCodes from https://software.ecmwf.int/wiki/display/ECC/Releases
|
1. Download ecCodes from https://software.ecmwf.int/wiki/display/ECC/Releases
|
||||||
|
|
||||||
2. Unpack distribution:
|
2. Unpack distribution:
|
||||||
> tar -xzf eccodes-x.y.z-Source.tar.gz
|
```
|
||||||
|
tar -xzf eccodes-x.y.z-Source.tar.gz
|
||||||
|
```
|
||||||
|
|
||||||
3. Create a separate directory where to build ecCodes:
|
3. Create a separate directory where to build ecCodes:
|
||||||
> mkdir build
|
```
|
||||||
> cd build
|
mkdir build
|
||||||
|
cd build
|
||||||
|
```
|
||||||
|
|
||||||
4. Run cmake pointing to the source and specify the installation location:
|
4. Run cmake pointing to the source and specify the installation location:
|
||||||
> cmake ../eccodes-x.y.z-Source -DCMAKE_INSTALL_PREFIX=/path/to/where/you/install/eccodes
|
```
|
||||||
|
cmake ../eccodes-x.y.z-Source -DCMAKE_INSTALL_PREFIX=/path/to/where/you/install/eccodes
|
||||||
|
```
|
||||||
It is strongly recommended that you install into a clean directory
|
It is strongly recommended that you install into a clean directory
|
||||||
|
|
||||||
5. Compile, test and install:
|
5. Compile, test and install:
|
||||||
> make
|
```
|
||||||
> ctest
|
make
|
||||||
> make install
|
ctest
|
||||||
|
make install
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
For more details, please see:
|
For more details, please see:
|
||||||
|
|
Loading…
Reference in New Issue