Skip to content

Commit

Permalink
More documentation fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Leclerc <[email protected]>
  • Loading branch information
sylvlecl committed Jun 3, 2024
1 parent 3d837a0 commit ca1e655
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
10 changes: 7 additions & 3 deletions docs/developer-guide/1-Development-requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,20 @@ The compilation of *Antares Simulator* requires C++17 support.
You must enable the EPEL repository:
```
sudo yum install epel-release
sudo yum install centos-release-scl
sudo yum install git redhat-lsb-core make wget centos-release-scl scl-utils rpm-build
sudo yum install cmake3 devtoolset-10-gcc*

scl enable devtoolset-10 bash
source /opt/rh/rh-git227/enable
```

#### Centos 8
You must enable PowerTools, then install a more recent version of GCC by installing and enabling `devtoolset-9`:
```
sudo yum install dnf-plugins-core
sudo yum config-manager --set-enabled PowerTools
sudo yum install devtoolset-9
scl enable devtoolset-9 bash
sudo yum install devtoolset-10
scl enable devtoolset-10 bash
```

=== "Ubuntu/Debian"
Expand Down
12 changes: 1 addition & 11 deletions docs/developer-guide/3-Build.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
# Build
Before building, make sure that dependencies are [installed](2-Dependencies-install.md).

## Environment settings

On CentOS, install developer tools, and enable `devtoolset-10` and `rh-git227`:
```
sudo yum install git redhat-lsb-core gcc gcc-c++ make wget centos-release-scl scl-utils rpm-build
sudo yum install cmake3 devtoolset-10-gcc*
scl enable devtoolset-9 bash
source /opt/rh/rh-git227/enable
```
Before building, make sure that dependencies are [installed](2-Dependencies-install.md).

## Install VCPKG

Expand Down

0 comments on commit ca1e655

Please sign in to comment.