Blender Git Commit Log

Git Commits -> Revision 0725406

Revision 0725406 by Sergey Sharybin (master)
August 27, 2018, 16:14 (GMT)
Build environment: Enable SSL for Python on Linux

This involved getting SSL compiled from sources first, ensuring
it is a static library placement independent code. Configuration
is based on what Debian is using. CFlags required to have own
configuration file, which i didn't find a better place that next
to the corresponding CMake file.

It is OpenSSL btw.

It is set to Python via --with-openssl= configuration argument.
This works fine in a clean chroot, but having libssl-dev installed
might make Python to prefer system wide library, This was worked
around by using libssl_pic.a name for the library and modifying
setup.py. Would be cool to ensure system wide libraries are not
a problem, but official release builder is safe against this,
since it will catch possible non-static dependencies.

There is also a new map file which shadows bunch of Python
symbols. Without this Python's shared libraries might bring
conflicting symbols to Blender namespace at runtime.

Hopefully this doesn't break other platforms.

Commit Details:

Full Hash: 072540688a90017f57730dbabf4198cb7ea310f2
Parent Commit: f693e2c
Lines Changed: +81, -1

3 Added Paths:

/build_files/build_environment/cmake/python.map (+9, -0) (View)
/build_files/build_environment/cmake/ssl.cmake (+44, -0) (View)
/build_files/build_environment/cmake/ssl.conf (+10, -0) (View)

3 Modified Paths:

/build_files/build_environment/cmake/python.cmake (+10, -1) (Diff)
/build_files/build_environment/cmake/versions.cmake (+4, -0) (Diff)
/build_files/build_environment/CMakeLists.txt (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021