Page MenuHome

install_deps.sh Spring Cleaning and OpenVDB
ClosedPublic

Authored by Ejner Fergo (ejnersan) on Apr 21 2016, 4:08 PM.

Details

Summary

Cleaned and updated script for DEB/RPM distros, and added buildable OpenVDB.

Tested on Debian (7/8/testing), Ubuntu (12.04/14.04/15.10/16.04), openSUSE (13.2/42.1), Fedora 23, CentOS 7 and Arch
All using "--with-all" and blender successfully built.

Diff Detail

Repository
rB Blender

Event Timeline

Ejner Fergo (ejnersan) retitled this revision from to install_deps.sh Spring Cleaning and OpenVDB.Apr 21 2016, 4:08 PM
Ejner Fergo (ejnersan) updated this object.
Ejner Fergo (ejnersan) updated this revision to Diff 6470.

While testing Alembic, i found that RPM distros couldn't compile boost correclty due to missing headers. DEB and Arch is fine. Tested using "--build-boost" on Fedora 23, CentOS 7 and openSUSE 42.1 and it works now, making the script more robust.

Bastien Montagne (mont29) accepted this revision.

Looks good to me, if you are OK with the two comments below, will commit this (in three steps at least, to separate cleanup from fixes from new features ;) ).

build_files/build_environment/install_deps.sh
375–376

Would add to comment this is needed for OpenSubDiv

2259

This isn't quite correct either, things like '1:2.3.4-dmo5' won't get correctly extracted… Think the following works in all cases?

dpkg-query -W -f '${Version}' ffmpeg | sed -r 's/([0-9]+:)?(([0-9]+\.?)+([0-9]+)).*/\2/'

This revision is now accepted and ready to land.Apr 29 2016, 3:33 PM