From cf25e8a805a525d4cd181e4f4a3fcb3fe02f56e8 Mon Sep 17 00:00:00 2001 From: Sebastian Woetzel Date: Tue, 27 Feb 2024 15:54:32 +0100 Subject: [PATCH] README: add infos to setup a build environment on CentOS 7 --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 8e467d2..e8280f5 100644 --- a/README.md +++ b/README.md @@ -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