Skip to content

Commit

Permalink
README: add infos to setup a build environment on CentOS 7
Browse files Browse the repository at this point in the history
  • Loading branch information
wose committed Feb 27, 2024
1 parent e9aad3a commit cf25e8a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,18 @@ gcc (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0
...
```

#### Build Environment CentOS 7

``` shell
yum install centos-release-scl
yum install llvm-toolset-7-cmake git devtoolset-11 rpm-build libXi-devel libXrandr-devel llvm-toolset-7-cmake devtoolset-11
```

Get a shell with `cmake` and `gcc` in the correct version:
``` shell
scl enable devtoolset-11 llvm-toolset-7 bash
```

### Compiling

``` shell
Expand Down

0 comments on commit cf25e8a

Please sign in to comment.