* [Tarantool-patches] [PATCH] build: bump CMake minimum version for static build
@ 2021-03-12 16:10 Igor Munkin via Tarantool-patches
2021-03-12 16:15 ` Alexander V. Tikhonov via Tarantool-patches
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Igor Munkin via Tarantool-patches @ 2021-03-12 16:10 UTC (permalink / raw)
To: Alexander V. Tikhonov, Kirill Yukhin; +Cc: tarantool-patches
This patch follows up 54e149186348cd3f6e2e403cb48b15ae6c50f7aa
('build: update CMake minimum version to 3.1'). As a result of its
cherry-pick CMake minimum version has not been updated within Docker
machinery for the old static build pipeline.
The problem was disclosed by moving LuaJIT build system to CMake in
scope of 5d25b860adbad11fa23d20381c9ad749c16ad856 ('build: adjust LuaJIT
build system')
Follows up #4862
Signed-off-by: Igor Munkin <imun@tarantool.org>
---
Issue: https://github.com/tarantool/tarantool/issues/4862
Branch: https://github.com/tarantool/tarantool/tree/imun/fix-cmake-for-static-build-1.10
CI is green except the known problem with ASAN pipeline.
This patch need to be applied *only* to 1.10 branch.
Dockerfile.staticbuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Dockerfile.staticbuild b/Dockerfile.staticbuild
index f67f46f5e..c4fbb86fb 100644
--- a/Dockerfile.staticbuild
+++ b/Dockerfile.staticbuild
@@ -23,7 +23,7 @@ RUN set -x \
&& yum -y install \
perl \
gcc-c++ \
- cmake \
+ cmake3 \
lz4-devel \
binutils-devel \
lua-devel \
@@ -80,7 +80,7 @@ RUN set -x && \
RUN pip install -r /tarantool/test-run/requirements.txt
RUN set -x && \
- cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ cmake3 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DENABLE_DIST:BOOL=ON \
-DBUILD_STATIC=ON \
-DOPENSSL_USE_STATIC_LIBS=ON \
--
2.25.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Tarantool-patches] [PATCH] build: bump CMake minimum version for static build
2021-03-12 16:10 [Tarantool-patches] [PATCH] build: bump CMake minimum version for static build Igor Munkin via Tarantool-patches
@ 2021-03-12 16:15 ` Alexander V. Tikhonov via Tarantool-patches
2021-03-15 15:32 ` Igor Munkin via Tarantool-patches
2021-03-16 11:46 ` Kirill Yukhin via Tarantool-patches
2021-03-16 12:21 ` Igor Munkin via Tarantool-patches
2 siblings, 1 reply; 6+ messages in thread
From: Alexander V. Tikhonov via Tarantool-patches @ 2021-03-12 16:15 UTC (permalink / raw)
To: Igor Munkin; +Cc: tarantool-patches
Hi Igor, thanks for the patch. I see it really fixed the issue, patch
LGTM.
On Fri, Mar 12, 2021 at 07:10:55PM +0300, Igor Munkin wrote:
> This patch follows up 54e149186348cd3f6e2e403cb48b15ae6c50f7aa
> ('build: update CMake minimum version to 3.1'). As a result of its
> cherry-pick CMake minimum version has not been updated within Docker
> machinery for the old static build pipeline.
>
> The problem was disclosed by moving LuaJIT build system to CMake in
> scope of 5d25b860adbad11fa23d20381c9ad749c16ad856 ('build: adjust LuaJIT
> build system')
>
> Follows up #4862
>
> Signed-off-by: Igor Munkin <imun@tarantool.org>
> ---
>
> Issue: https://github.com/tarantool/tarantool/issues/4862
> Branch: https://github.com/tarantool/tarantool/tree/imun/fix-cmake-for-static-build-1.10
> CI is green except the known problem with ASAN pipeline.
>
> This patch need to be applied *only* to 1.10 branch.
>
> Dockerfile.staticbuild | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Dockerfile.staticbuild b/Dockerfile.staticbuild
> index f67f46f5e..c4fbb86fb 100644
> --- a/Dockerfile.staticbuild
> +++ b/Dockerfile.staticbuild
> @@ -23,7 +23,7 @@ RUN set -x \
> && yum -y install \
> perl \
> gcc-c++ \
> - cmake \
> + cmake3 \
> lz4-devel \
> binutils-devel \
> lua-devel \
> @@ -80,7 +80,7 @@ RUN set -x && \
> RUN pip install -r /tarantool/test-run/requirements.txt
>
> RUN set -x && \
> - cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
> + cmake3 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
> -DENABLE_DIST:BOOL=ON \
> -DBUILD_STATIC=ON \
> -DOPENSSL_USE_STATIC_LIBS=ON \
> --
> 2.25.0
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Tarantool-patches] [PATCH] build: bump CMake minimum version for static build
2021-03-12 16:15 ` Alexander V. Tikhonov via Tarantool-patches
@ 2021-03-15 15:32 ` Igor Munkin via Tarantool-patches
0 siblings, 0 replies; 6+ messages in thread
From: Igor Munkin via Tarantool-patches @ 2021-03-15 15:32 UTC (permalink / raw)
To: Alexander V. Tikhonov; +Cc: tarantool-patches
Sasha,
Thanks for your review!
On 12.03.21, Alexander V. Tikhonov wrote:
> Hi Igor, thanks for the patch. I see it really fixed the issue, patch
> LGTM.
Added your tag:
| Reviewed-by: Alexander V. Tikhonov <avtikhon@tarantool.org>
>
<snipped>
--
Best regards,
IM
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Tarantool-patches] [PATCH] build: bump CMake minimum version for static build
2021-03-12 16:10 [Tarantool-patches] [PATCH] build: bump CMake minimum version for static build Igor Munkin via Tarantool-patches
2021-03-12 16:15 ` Alexander V. Tikhonov via Tarantool-patches
@ 2021-03-16 11:46 ` Kirill Yukhin via Tarantool-patches
2021-03-16 12:18 ` Igor Munkin via Tarantool-patches
2021-03-16 12:21 ` Igor Munkin via Tarantool-patches
2 siblings, 1 reply; 6+ messages in thread
From: Kirill Yukhin via Tarantool-patches @ 2021-03-16 11:46 UTC (permalink / raw)
To: Igor Munkin; +Cc: tarantool-patches
Hello,
On 12 мар 19:10, Igor Munkin wrote:
> This patch follows up 54e149186348cd3f6e2e403cb48b15ae6c50f7aa
> ('build: update CMake minimum version to 3.1'). As a result of its
> cherry-pick CMake minimum version has not been updated within Docker
> machinery for the old static build pipeline.
>
> The problem was disclosed by moving LuaJIT build system to CMake in
> scope of 5d25b860adbad11fa23d20381c9ad749c16ad856 ('build: adjust LuaJIT
> build system')
>
> Follows up #4862
>
> Signed-off-by: Igor Munkin <imun@tarantool.org>
LGTM.
--
Regards, Kirill Yukhin
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Tarantool-patches] [PATCH] build: bump CMake minimum version for static build
2021-03-16 11:46 ` Kirill Yukhin via Tarantool-patches
@ 2021-03-16 12:18 ` Igor Munkin via Tarantool-patches
0 siblings, 0 replies; 6+ messages in thread
From: Igor Munkin via Tarantool-patches @ 2021-03-16 12:18 UTC (permalink / raw)
To: Kirill Yukhin; +Cc: tarantool-patches
Kirill,
Thanks for your review!
On 16.03.21, Kirill Yukhin wrote:
> Hello,
>
> On 12 мар 19:10, Igor Munkin wrote:
> > This patch follows up 54e149186348cd3f6e2e403cb48b15ae6c50f7aa
> > ('build: update CMake minimum version to 3.1'). As a result of its
> > cherry-pick CMake minimum version has not been updated within Docker
> > machinery for the old static build pipeline.
> >
> > The problem was disclosed by moving LuaJIT build system to CMake in
> > scope of 5d25b860adbad11fa23d20381c9ad749c16ad856 ('build: adjust LuaJIT
> > build system')
> >
> > Follows up #4862
> >
> > Signed-off-by: Igor Munkin <imun@tarantool.org>
>
> LGTM.
Added your tag:
| Reviewed-by: Kirill Yukhin <kyukhin@tarantool.org>
>
> --
> Regards, Kirill Yukhin
--
Best regards,
IM
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Tarantool-patches] [PATCH] build: bump CMake minimum version for static build
2021-03-12 16:10 [Tarantool-patches] [PATCH] build: bump CMake minimum version for static build Igor Munkin via Tarantool-patches
2021-03-12 16:15 ` Alexander V. Tikhonov via Tarantool-patches
2021-03-16 11:46 ` Kirill Yukhin via Tarantool-patches
@ 2021-03-16 12:21 ` Igor Munkin via Tarantool-patches
2 siblings, 0 replies; 6+ messages in thread
From: Igor Munkin via Tarantool-patches @ 2021-03-16 12:21 UTC (permalink / raw)
To: Alexander V. Tikhonov, Kirill Yukhin; +Cc: tarantool-patches
I've checked the patch into 1.10.
On 12.03.21, Igor Munkin wrote:
> This patch follows up 54e149186348cd3f6e2e403cb48b15ae6c50f7aa
> ('build: update CMake minimum version to 3.1'). As a result of its
> cherry-pick CMake minimum version has not been updated within Docker
> machinery for the old static build pipeline.
>
> The problem was disclosed by moving LuaJIT build system to CMake in
> scope of 5d25b860adbad11fa23d20381c9ad749c16ad856 ('build: adjust LuaJIT
> build system')
>
> Follows up #4862
>
> Signed-off-by: Igor Munkin <imun@tarantool.org>
> ---
>
> Issue: https://github.com/tarantool/tarantool/issues/4862
> Branch: https://github.com/tarantool/tarantool/tree/imun/fix-cmake-for-static-build-1.10
> CI is green except the known problem with ASAN pipeline.
>
> This patch need to be applied *only* to 1.10 branch.
>
> Dockerfile.staticbuild | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
<snipped>
> --
> 2.25.0
>
--
Best regards,
IM
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-03-16 12:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12 16:10 [Tarantool-patches] [PATCH] build: bump CMake minimum version for static build Igor Munkin via Tarantool-patches
2021-03-12 16:15 ` Alexander V. Tikhonov via Tarantool-patches
2021-03-15 15:32 ` Igor Munkin via Tarantool-patches
2021-03-16 11:46 ` Kirill Yukhin via Tarantool-patches
2021-03-16 12:18 ` Igor Munkin via Tarantool-patches
2021-03-16 12:21 ` Igor Munkin via Tarantool-patches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox