From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 0B1422A41D for ; Wed, 29 Aug 2018 07:22:20 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8DaYhmZYI1iZ for ; Wed, 29 Aug 2018 07:22:19 -0400 (EDT) Received: from smtp1.mail.ru (smtp1.mail.ru [94.100.179.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id BDF2F2A41C for ; Wed, 29 Aug 2018 07:22:19 -0400 (EDT) Date: Wed, 29 Aug 2018 14:22:21 +0300 From: Alexander Turenko Subject: [tarantool-patches] Re: [PATCH v4] Tarantool static build ability Message-ID: <20180829112221.j7oehfqgwgmal74e@tkn_work_nb> References: <61ed63cef516d36d6a18b02d476bdd680e8cf516.1535522175.git.georgy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <61ed63cef516d36d6a18b02d476bdd680e8cf516.1535522175.git.georgy@tarantool.org> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: Georgy Kirichenko Cc: tarantool-patches@freelists.org 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