Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-08-27 19:09:30 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-08-27 19:14:42 +0300
commit072540688a90017f57730dbabf4198cb7ea310f2 (patch)
treec23284a04452c06ee01227c9c9a4c02d0b9c036d /build_files/build_environment/cmake/versions.cmake
parentf693e2c64412e5214c85fcd6021b4329f0c2f034 (diff)
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.
Diffstat (limited to 'build_files/build_environment/cmake/versions.cmake')
-rw-r--r--build_files/build_environment/cmake/versions.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/build_files/build_environment/cmake/versions.cmake b/build_files/build_environment/cmake/versions.cmake
index 594aa990d31..3b3ee092ca5 100644
--- a/build_files/build_environment/cmake/versions.cmake
+++ b/build_files/build_environment/cmake/versions.cmake
@@ -274,3 +274,7 @@ set(PUGIXML_HASH 9346ca1dce2c48f1748c12fdac41a714)
set(FLEXBISON_VERSION 2.5.5)
set(FLEXBISON_URI http://prdownloads.sourceforge.net/winflexbison//win_flex_bison-2.5.5.zip)
set(FLEXBISON_HASH d87a3938194520d904013abef3df10ce)
+
+set(SSL_VERSION 1.1.0i)
+set(SSL_URI https://www.openssl.org/source/openssl-${SSL_VERSION}.tar.gz)
+set(SSL_HASH ebbfc844a8c8cc0ea5dc10b86c9ce97f401837f3fa08c17b2cdadc118253cf99)