

On if you want EGL enabled for your wheel. Yum install mesa-libEGL-devel # only needed when building EGLīe sure to either enable or disable DVTK_OPENGL_HAS_EGL depending DVTK_MODULE_ENABLE_VTK_PythonInterpreter:STRING =NO \ Yum install ninja-build cmake mesa-libGL-devel mesa-libGLU-devel


# build based on python version from args PYTHON_VERSION = " $1 " case $PYTHON_VERSION in 2.7 ) PYBIN = "/opt/python/cp27-cp27m/bin/python" 3.5 ) PYBIN = "/opt/python/cp35-cp35m/bin/python" 3.6 ) PYBIN = "/opt/python/cp36-cp36m/bin/python" 3.7 ) PYBIN = "/opt/python/cp37-cp37m/bin/python" 3.8 ) PYBIN = "/opt/python/cp38-cp38/bin/python" 3.9 ) PYBIN = "/opt/python/cp39-cp39/bin/python" esac #!/bin/bash # builds python wheels on docker container and tests installation set -e -x Ensure gcc and g++ are installed: yum install gcc yum install gcc-c++ Ensure cmake is installed: yum install cmake Ensure OpenGL modules are installed.
