[Tarantool-patches] [PATCH v1] build: fix static build w/ dockerfile with cmake

Alexander Turenko alexander.turenko at tarantool.org
Fri Jul 3 14:32:30 MSK 2020


> Closes #5019

Since it is now out of the patchset, where curl is build using cmake, it
should be clarified that the problem only appears after switching curl
to build using cmake.

> ---
> 
> Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh-5019-findopenssl-dockerfile
> Issue: https://github.com/tarantool/tarantool/issues/5019
> 
>  Dockerfile.staticbuild | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Dockerfile.staticbuild b/Dockerfile.staticbuild
> index 253f2d5e9..cb6c12e94 100644
> --- a/Dockerfile.staticbuild
> +++ b/Dockerfile.staticbuild
> @@ -86,6 +86,8 @@ RUN set -x && \
>           -DOPENSSL_USE_STATIC_LIBS=ON \
>           -DOPENSSL_ROOT_DIR=/usr/local \
>           . && \
> +    sed 's%#define%#[\\t ]*define%g' -i \
> +        /usr/share/cmake/Modules/FindOpenSSL.cmake && \
>      make -j && make install

In fact it means that we'll not actually support cmake 2.8, not even
3.0 / 3.1, but only cmake since v3.1.1-1-gc5d9a8283c.

Can we pass custom CMAKE_MODULE_PATH with our cmake/ directory to curl?


More information about the Tarantool-patches mailing list