Page MenuHome

CMake: Allow to use pre-compiled CentOS libraries
ClosedPublic

Authored by Sergey Sharybin (sergey) on Wed, Oct 9, 5:19 PM.

Details

Summary

The goal is to make it able to use pre-compiled CentOS libraries on a
more modern system. Main issue was that it's possible that the compiler
on a newer version is defaulting to different C++11 ABI.

This change makes it so that if there is NO native libraries in the
lib folder and there IS pre-compiled CentOS folder, it will be used and
compiler will be forced to old ABI.

Diff Detail

Repository
rB Blender

Event Timeline

Cannot really test this here, but am fine with the idea, and CMake changes look valid to me.

This revision is now accepted and ready to land.Wed, Oct 9, 5:46 PM

Builds successfully and tests pass on Ubuntu 18.04.

This will be immediately useful at the studio here, so no separate set of libraries needs to be maintained for building on the artists' machines.

Recommending this for general use is a decision that can be made separately. But I think it would significantly reduce the amount of time we have to spend helping users build Blender.