[tarantool-patches] Re: [PATCH v4] Tarantool static build ability
Alexander Turenko
alexander.turenko at tarantool.org
Wed Aug 29 14:22:21 MSK 2018
Travis CI catched the following error:
-- Performing Test CURL_SUPPORTS_SSL
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Z_LIBRARY
linked by target "cmTC_a3bb9" in directory /tarantool/CMakeFiles/CMakeTmp
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Performing Test CURL_SUPPORTS_SSL - Failed
https://travis-ci.org/tarantool/tarantool/jobs/422002672#L1008
On Wed, Aug 29, 2018 at 09:08:07AM +0300, Georgy Kirichenko wrote:
> A possibility to build tarantool with included library dependencies.
> Use the flag -DBUILD_STATIC=ON to build statically against curl, readline,
> ncurses, icu and z.
> Use the flag -DOPENSSL_USE_STATIC_LIBS=ON to build with static
> openssl
>
> Changes:
> * Add FindOpenSSL.cmake because some distributions do not support the use of
> openssl static libraries.
> * Find libssl before curl because of build dependency.
> * Catch all bundled libraries API and export then it in case of static
> build.
> * Rename crc32 internal functions to avoid a name clash with linked libraries.
>
> Notes:
> * Bundled libyaml is not properly exported, use the system one.
> * Dockerfile to build static with docker is included
>
> Fixes #3445
> ---
> Changes in v4:
> - Add Z library to an openssl libraries list because of dependencies
> - Update FinxOpenSSL module
> - Minor fixes as per review by Alexander Turenko
>
> Changes in v3:
> - Fixed comments as per review by Alexander Turenko
>
> Changes in v2:
> - Fixed comments as per review by Alexander Turenko
More information about the Tarantool-patches
mailing list