Commit 729ca65b authored by Thibaut ROMAIN's avatar Thibaut ROMAIN
Browse files

DOC: Add CentOS 7 documentation for python bindings recompilation

parent 75c7c2a0
Pipeline #9490 canceled with stages
in 6 minutes and 51 seconds
......@@ -162,9 +162,29 @@ The following commands can be executed on Ubuntu 18.04 or Ubuntu 20.04, for exam
source otbenv.profile
ctest -S share/otb/swig/build_wrapping.cmake -VV
..code-block:: bash
#Add the SCL repositories to install python 3.8 and gcc 8
yum -y install epel-release centos-release-scl
#Install required dependencies for python bindings recompilation
yum -y install devtoolset-8 cmake3 rh-python38 rh-python38-python-devel rh-python38-python-numpy swig3 mesa-libGL-devel mesa-libGLU-devel
#Enable the environement
scl enable rh-python38 devtoolset-8 -- /bin/bash
# Extract the archive
chmod +x
# recompile the Python bindings
cd OTB-8.0.0-Linux64
source otbenv.profile
ctest3 -S share/otb/swig/build_wrapping.cmake -VV
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment