-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD_NOTES.txt
27 lines (22 loc) · 1.61 KB
/
BUILD_NOTES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Ran with:
install_deps.sh --build-python --build-numpy --build-ocio --skip-openexr --build-oiio --skip-osl --build-opencollada
If you're using CMake add this to your configuration flags:
-D WITH_CODEC_SNDFILE=ON
-D PYTHON_VERSION=3.6
-D PYTHON_ROOT_DIR=/opt/lib/python-3.6
-D WITH_OPENCOLORIO=ON
-D OPENCOLORIO_ROOT_DIR=/opt/lib/ocio
-D WITH_OPENIMAGEIO=ON
-D OPENIMAGEIO_ROOT_DIR=/opt/lib/oiio
-D WITH_CYCLES_OSL=OFF
-D WITH_LLVM=OFF
-D WITH_OPENSUBDIV=ON
-D OPENSUBDIV_ROOT_DIR=/opt/lib/osd
-D WITH_OPENVDB=ON
-D WITH_OPENVDB_BLOSC=ON
-D WITH_ALEMBIC=ON
-D ALEMBIC_ROOT_DIR=/opt/lib/alembic
-D WITH_CODEC_FFMPEG=ON
-D FFMPEG_LIBRARIES='avformat;avcodec;avutil;avdevice;swscale;swresample;lzma;rt;theora;theoradec;theoraenc;vorbis;vorbisenc;vorbisfile;ogg;x264'
Or even simpler, just run (in your blender-source dir):
make -j4 BUILD_CMAKE_ARGS="-U *SNDFILE* -U *PYTHON* -U *BOOST* -U *Boost* -U *OPENCOLORIO* -U *OPENEXR* -U *OPENIMAGEIO* -U *LLVM* -U *CYCLES* -U *OPENSUBDIV* -U *OPENVDB* -U *COLLADA* -U *FFMPEG* -U *ALEMBIC* -D WITH_CODEC_SNDFILE=ON -D PYTHON_VERSION=3.6 -D PYTHON_ROOT_DIR=/opt/lib/python-3.6 -D WITH_OPENCOLORIO=ON -D OPENCOLORIO_ROOT_DIR=/opt/lib/ocio -D WITH_OPENIMAGEIO=ON -D OPENIMAGEIO_ROOT_DIR=/opt/lib/oiio -D WITH_CYCLES_OSL=OFF -D WITH_LLVM=OFF -D WITH_OPENSUBDIV=ON -D OPENSUBDIV_ROOT_DIR=/opt/lib/osd -D WITH_OPENVDB=ON -D WITH_OPENVDB_BLOSC=ON -D WITH_ALEMBIC=ON -D ALEMBIC_ROOT_DIR=/opt/lib/alembic -D WITH_CODEC_FFMPEG=ON -D FFMPEG_LIBRARIES='avformat;avcodec;avutil;avdevice;swscale;swresample;lzma;rt;theora;theoradec;theoraenc;vorbis;vorbisenc;vorbisfile;ogg;x264'"