# Note: depends on cmake # Note: depends on openimageio # Note: depends on Python # Note: depends on freetype # Note: depends on libX11 # Note: depends on glew # Note: depends on glu wget -c http://download.blender.org/source/blender-2.79b.tar.gz tar -xzf blender-2.79b.tar.gz cd blender-2.79b sed -i -e 's/std::pair<[^,]*/& const/' intern/itasc/kdl/tree.hpp # make gcc 8 happy mkdir -p build cd build cmake -DCMAKE_INSTALL_PREFIX="/usr" -DWITH_INSTALL_PORTABLE=OFF -DWITH_OPENMP=OFF -DPYTHON_VERSION="`python3 --version | sed -e 's/.* //; s/\.[0-9]*$//'`" -DWITH_CYCLES=OFF .. make # works with -j# but easily runs out of memory with multiple simultaneous builds and breaks the build directory for subsequent make-runs make install