[ 
https://issues.apache.org/jira/browse/PROTON-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17571912#comment-17571912
 ] 

Jiri Daněk edited comment on PROTON-2583 at 7/27/22 1:29 PM:
-------------------------------------------------------------

+1 to killing Xenial

My view is that CMake version should not be tied to the version of the Linux 
distribution. Serious CMake users install CMake not from distro packages, but 
from Snap or the vendor apt repository (see 
https://cliutils.gitlab.io/modern-cmake/chapters/intro/installing.html).

The solution I'd propose is to decide to support the latest two Ubuntu LTS 
versions, that means Ubuntu 22.04 and 20.04, Jammy and Focal, which would give 
recent enough CMake so that we don't have to worry. Jammy is already on Travis, 
https://travis-ci.community/t/ubuntu-22-04-jammy-jellyfish/12924 and there is 
experimantal support on GHA (which seems to work just fine).

Deciding to support latest three LTS's would work just as well. Supporting 
latest four Ubuntu LTS's seems excessive commitment to me.


was (Author: jdanek):
+1 to killing Xenial

My view is that CMake version should not be tied to the version of the Linux 
distribution. Serious CMake users install CMake not from distro packages, but 
from Snap or the vendor apt repository (see 
https://cliutils.gitlab.io/modern-cmake/chapters/intro/installing.html).

The solution I'd propose is to decide to support the latest two Ubuntu LTS 
versions, that means Ubuntu 22.04 and 20.04, Jammy and Focal, which would give 
recent enough CMake so that we don't have to worry. Jammy is already on Travis, 
https://travis-ci.community/t/ubuntu-22-04-jammy-jellyfish/12924 and there is 
experimantal support on GHA (which seems to work just fine).

Deciding to support latest three LTS's would work just as well. Supporting 
latest four Ubuntu LTS's seems excessive to me.

> [Python/swig] Build warnings from recent versions of CMake
> ----------------------------------------------------------
>
>                 Key: PROTON-2583
>                 URL: https://issues.apache.org/jira/browse/PROTON-2583
>             Project: Qpid Proton
>          Issue Type: Bug
>    Affects Versions: proton-c-0.37.0
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>             Fix For: proton-c-0.38.0
>
>
> Running recent versions of cmake give the following results:
> {quote}
> CMake Deprecation Warning at CMakeLists.txt:374 (cmake_policy):
>   The OLD behavior for policy CMP0078 will be removed from a future version
>   of CMake.}}{{  The cmake-policies(7) manual explains that the OLD behaviors 
> of all
>   policies are deprecated and that a policy should be set to OLD only under
>   specific short-term circumstances.  Projects should be ported to the NEW
>   behavior and not rely on setting a policy to OLD.
> CMake Deprecation Warning at CMakeLists.txt:377 (cmake_policy):
>   The OLD behavior for policy CMP0086 will be removed from a future version
>   of CMake.}}{{  The cmake-policies(7) manual explains that the OLD behaviors 
> of all
>   policies are deprecated and that a policy should be set to OLD only under
>   specific short-term circumstances.  Projects should be ported to the NEW
>   behavior and not rely on setting a policy to OLD.
> {quote}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to