How to Build OpenText VirtualGL Packages
========================================

Environment
-----------

 * CentOS 7 (Used 7.9)
 * sudo yum install epel-release
 * Install libjpeg-turbo with static libs
   * curl -O https://libjpeg-turbo.org/key/LJT-GPG-KEY
   * sudo rpm --import LJT-GPG-KEY
   * curl -O https://phoenixnap.dl.sourceforge.net/project/libjpeg-turbo/2.1.2/libjpeg-turbo-official-2.1.2.i386.rpm
   * curl -O https://iweb.dl.sourceforge.net/project/libjpeg-turbo/2.1.2/libjpeg-turbo-official-2.1.2.x86_64.rpm
   * sudo rpm -i libjpeg-turbo-official-2.1.2.i386.rpm libjpeg-turbo-official-2.1.2.x86_64.rpm
 * sudo yum install -y
	cmake3
	ninja-build
	git
 	gcc.x86_64
	gcc-c++.x86_64
	glibc-devel.i686
	glibc-devel.x86_64
	libstdc++-static.i686
	libstdc++-static.x86_64
	libX11-devel.i686
	libX11-devel.x86_64
	libXtst-devel.x86_64
	libXtst-devel.i686
	libxcb-devel.i686
	libXext-devel.i686
	xcb-util-keysyms-devel.x86_64
	xcb-util-keysyms-devel.i686
	mesa-libGL-devel.i686
	mesa-libGL-devel.x86_64
	mesa-libEGL-devel.i686
	mesa-libEGL-devel.x86_64
	mesa-libGLU-devel.i686
	mesa-libGLU-devel.x86_64
	opencl-headers.noarch
	ocl-icd-devel.x86_64
	ocl-icd-devel.i686
#	http://springdale.princeton.edu/data/springdale/7/x86_64/os/Addons/Packages/ocl-icd-devel-2.2.12-1.sdl7.i686.rpm
#	http://springdale.princeton.edu/data/springdale/7/x86_64/os/Addons/Packages/ocl-icd-2.2.12-1.sdl7.i686.rpm

* sudo ln -s /usr/bin/cmake3 /usr/bin/cmake

Building
--------

git clone git@gitlab.opentext.net:/exceed/virtualgl
cd virtualgl/opentext
make
