Commit 9fed575
authored
build: restrict the
Resolve #2244.
The reason for failing to build `thirdparties-src-*` images is that the `CMake` version
is too new (currently 4.0.0) in the build environment for both Ubuntu 20.04 and 22.04,
while some third-party dependencies still rely on older `CMake syntax`, e.g. `thrift-0.9.3`
declares `cmake_minimum_required(VERSION 2.8.12)` in its `CMakeLists.txt`. Such legacy
syntax is not fully compatible with the newest versions of `CMake`.
To solve this problem, we restrict the `CMake` version installed in the Ubuntu 20.04 and
22.04 environments to [a newer 3.x.x version](https://pypi.org/project/cmake/#history) that
also maintains compatibility with legacy `CMakeLists.txt` files.CMake version installed on Ubuntu 20.04 and 22.04 to 3.x.x (#2245)1 parent 9806897 commit 9fed575
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments