cc_staff
292
edits
Line 67: | Line 67: | ||
-DLLVM_TARGETS_TO_BUILD:STRING=X86 \ | -DLLVM_TARGETS_TO_BUILD:STRING=X86 \ | ||
.. | .. | ||
make | make | ||
sudo make install | sudo make install | ||
Next, compile Mesa with OSMesa: | |||
cd | |||
wget ftp://ftp.freedesktop.org/pub/mesa/mesa-17.0.0.tar.gz | |||
unpack and cd there | |||
./configure \ | |||
--enable-opengl --disable-gles1 --disable-gles2 \ | |||
--disable-va --disable-xvmc --disable-vdpau \ | |||
--enable-shared-glapi \ | |||
--disable-texture-float \ | |||
--enable-gallium-llvm --enable-llvm-shared-libs \ | |||
--with-gallium-drivers=swrast,swr \ | |||
--disable-dri \ | |||
--disable-egl --disable-gbm \ | |||
--disable-glx \ | |||
--disable-osmesa --enable-gallium-osmesa | |||
make | |||
sudo make install | |||
Next, compile ParaView server: | |||
cd | |||
wget http://www.paraview.org/files/v5.2/ParaView-v5.2.0.tar.gz | |||
unpack and cd there | |||
mkdir -p build && cd build | |||
cmake \ | |||
-DCMAKE_BUILD_TYPE=Release \ | |||
-DCMAKE_INSTALL_PREFIX=/home/centos/paraview \ | |||
-DPARAVIEW_USE_MPI=OFF \ | |||
-DPARAVIEW_ENABLE_PYTHON=ON \ | |||
-DPARAVIEW_BUILD_QT_GUI=OFF \ | |||
-DVTK_OPENGL_HAS_OSMESA=ON \ | |||
-DVTK_USE_OFFSCREEN=ON \ | |||
-DVTK_USE_X=OFF \ | |||
.. | |||
make | |||
make install | |||
= Upcoming visualization events = <!--T:7--> | = Upcoming visualization events = <!--T:7--> |