Jack Sun
67a870c9c6
tools/cmake: update to 4.3.3
...
Release notes:https://cmake.org/cmake/help/latest/release/4.3.html
No need refresh patches
Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23482
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-05-24 10:23:41 +02:00
Jack Sun
7bbf265d3e
tools/cmake: update to 4.3.2
...
Release notes:https://cmake.org/cmake/help/latest/release/4.3.html
No need refresh patches
Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23398
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-05-17 13:09:36 +02:00
Jack Sun
db68b8cefa
tools/cmake: update to 4.3.1
...
Release notes:https://cmake.org/cmake/help/latest/release/4.3.html
Refresh patches:
- 130-bootstrap_parallel_make_flag.patch
- 150-zstd-libarchive.patch
- 160-disable_xcode_generator.patch
Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22693
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-04-07 23:01:22 +02:00
Hannu Nyman
784ed3aeb6
tools/cmake: update to 4.2.3
...
Update cmake to version 4.2.3.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Link: https://github.com/openwrt/openwrt/pull/22052
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-02-18 19:16:34 +01:00
Hannu Nyman
9ba24e0ee9
tools/cmake: update to 4.2.0
...
Update cmake to version 4.2.0
Release notes at https://cmake.org/cmake/help/v4.2/release/4.2.html
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Link: https://github.com/openwrt/openwrt/pull/20863
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-11-25 17:22:46 +01:00
Hannu Nyman
1b48ebd31c
tools/cmake: update to 4.1.2
...
Update cmake to 4.1.2.
Note that cmake 4.x requires at least 3.5 as 'cmake_minimum_required'
in CMakeLists.txt of each app to be compiled.
Future cmake versions will increase that requirement to 3.10
https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Link: https://github.com/openwrt/openwrt/pull/20265
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-11-04 15:14:55 +01:00
Jack Sun
2f85dc277b
tools/cmake: update to 3.31.5
...
Release notes: https://cmake.org/cmake/help/latest/release/3.31.html
No need refresh patch
Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17814
Signed-off-by: Nick Hainke <vincent@systemli.org>
2025-06-17 06:27:12 +02:00
Jack Sun
5f54e17bae
tools/cmake: update to 3.31.4
...
Release notes: https://cmake.org/cmake/help/latest/release/3.31.html
No need refresh patch
Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17587
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-01-12 13:44:44 +01:00
Jack Sun
54cb64c7c1
tools/cmake: update to 3.31.3
...
Release notes: https://cmake.org/cmake/help/latest/release/3.31.html
No need refresh patch
Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17322
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-12-27 11:16:28 +01:00
Jack Sun
4234d5ec45
tools/cmake: update to 3.31.2
...
Release notes: https://cmake.org/cmake/help/latest/release/3.31.html
Refresh patches:
- 120-curl-fix-libressl-linking.patch
- 130-bootstrap_parallel_make_flag.patch
- 150-zstd-libarchive.patch
- 160-disable_xcode_generator.patch
Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17056
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-12-10 21:14:48 +01:00
Jack Sun
9cccc4d7c2
tools/cmake: update to 3.30.5
...
Release notes: https://cmake.org/cmake/help/latest/release/3.30.html
Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16657
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-10-13 11:55:07 +02:00
Yanase Yuki
d97dced259
tools/cmake: update to 3.30.3
...
Release notes: https://cmake.org/cmake/help/latest/release/3.30.html
Signed-off-by: Yanase Yuki <dev@zpc.st>
Link: https://github.com/openwrt/openwrt/pull/16378
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-09-18 10:56:14 +02:00
Hannu Nyman
c456c5592e
tools/cmake: Update to 3.30.2
...
Update cmake to version 3.30.2
Release notes: https://cmake.org/cmake/help/v3.30/release/3.30.html
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Link: https://github.com/openwrt/openwrt/pull/16059
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-08-13 11:11:36 +02:00
Nick Hainke
3fd593b848
tools/cmake: update to 3.29.5
...
Changelog:
- https://www.kitware.com/cmake-3-29-1-available-for-download/
- https://www.kitware.com/cmake-3-29-2-available-for-download/
- https://www.kitware.com/cmake-3-29-3-available-for-download/
- https://www.kitware.com/cmake-3-29-4-available-for-download/
- https://www.kitware.com/cmake-3-29-5-available-for-download/
Signed-off-by: Nick Hainke <vincent@systemli.org>
2024-06-10 01:27:02 +02:00
Felix Fietkau
383b68e73c
tools/cmake: disable xcode generator
...
Fixes build on latest macOS SDK
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2024-03-29 15:40:25 +01:00
Nick Hainke
b05aad58e8
tools/cmake: update to 3.29.0
...
Changelog:
- https://www.kitware.com/cmake-3-29-0-available-for-download/
Refresh patches:
- 120-curl-fix-libressl-linking.patch
- 130-bootstrap_parallel_make_flag.patch
- 150-zstd-libarchive.patch
Signed-off-by: Nick Hainke <vincent@systemli.org>
2024-03-29 07:18:07 +01:00
Nick Hainke
8b113bfc6e
tools/cmake: update to 3.28.3
...
Release Notes:
https://www.kitware.com/cmake-3-28-3-available-for-download/
Signed-off-by: Nick Hainke <vincent@systemli.org>
2024-02-06 19:19:22 +01:00
Nick Hainke
906595c262
tools/cmake: update to 3.28.2
...
Release Notes:
https://www.kitware.com/cmake-3-28-2-available-for-download/
Signed-off-by: Nick Hainke <vincent@systemli.org>
2024-01-30 15:27:37 +01:00
Nick Hainke
659f027e69
tools/cmake: update to 3.28.1
...
Release Notes:
https://www.kitware.com/cmake-3-28-1-available-for-download/
Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-12-18 12:55:28 +01:00
Nick Hainke
0827fb8cc3
tools/cmake: update to 3.28.0
...
Release Notes:
- https://www.kitware.com/cmake-3-28-0-available-for-download/
Refresh patches:
- 120-curl-fix-libressl-linking.patch
- 130-bootstrap_parallel_make_flag.patch
Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-12-12 00:44:31 +01:00
Nick Hainke
230a2b8a5e
tools/cmake: update to 3.27.9
...
Release Notes:
- https://www.kitware.com/cmake-3-27-7-available-for-download/
- https://www.kitware.com/cmake-3-27-9-available-for-download/
Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-12-07 11:55:06 +01:00
Michael Pratt
518923178c
tools/cmake: disable cmake script debugger
...
Upstream commit a9a592f96e6498da302f8e968be1db0ad3c32123
("cmake: Add debugger") added a huge amount of code
in order to create a debugging feature for CMakeLists.txt
of other projects. This was added to CMake since 3.27.x.
Unforunately, this new debugger will not build on ARM systems
like arm-linux-gnueabihf (Raspberry Pi 4), and takes up
extra build time for something Openwrt doesn't need,
yet it was enabled by default. (Thanks Microsoft....)
Specifically, it's a failure to link to functions like
__atomic_store_8, __atomic_load_8, __atomic_fetch_add_8, etc.
Let's just disable it.
Someone who really needs this for developing can have CMake
with the debugger on their host machine or manually re-enable it here.
Link: https://gitlab.kitware.com/cmake/cmake/-/issues/21510
Link: https://devblogs.microsoft.com/cppblog/cmake-debugger-allows-you-to-debug-your-cmake-scripts-and-more/
Signed-off-by: Michael Pratt <mcpratt@pm.me>
2023-10-13 09:27:18 +02:00
Nick Hainke
9947fe74e3
tools/cmake: update to 3.27.5
...
Release Notes:
- https://www.kitware.com/cmake-3-27-5-available-for-download/
- https://www.kitware.com/cmake-3-27-6-available-for-download/
- https://www.kitware.com/cmake-3-27-7-available-for-download/
Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-10-12 00:21:46 +02:00
Hannu Nyman
6267961a4a
tools/cmake: update to 3.27.4
...
Update cmake to 3.27.4
No patch refresh needed.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2023-09-03 23:07:16 +02:00
Rosen Penev
1874a7cfb0
tools/cmake: update to 3.27.1
...
Fix zstd linking again.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-02 14:09:24 +02:00
Nick Hainke
45082d4e51
tools/cmake: update to 3.26.4
...
Changelog:
https://www.kitware.com/cmake-3-26-4-available-for-download/
Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-19 13:48:04 +02:00
Nick Hainke
89f6ac5fd1
tools/cmake: update to 3.26.3
...
Release Notes:
- https://www.kitware.com/cmake-3-26-1-available-for-download/
- https://www.kitware.com/cmake-3-26-2-available-for-download/
- https://www.kitware.com/cmake-3-26-3-available-for-download/
Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-04-19 00:53:39 +02:00
Linhui Liu
49294ffa90
tools/cmake: bump to 3.26.0
...
Release Notes:
https://cmake.org/cmake/help/v3.26/release/3.26.html
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2023-03-20 23:42:21 +01:00
Rosen Penev
786c4099b4
tools/cmake: remove rpath ldflag
...
no longer needed because of tools/zstd
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-09 02:53:36 +01:00
Linhui Liu
825250ec4b
tools/cmake: update to 3.25.2
...
Release Notes:
https://cmake.org/cmake/help/latest/release/3.25.html#id2
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2023-01-24 23:19:21 +01:00
Hannu Nyman
f72be4524d
tools/cmake: update to 3.25.1
...
Update cmake to version 3.25.1
* refresh patches
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2022-12-06 23:10:40 +01:00
Nick Hainke
39c8beae32
tools/cmake: update to 3.24.2
...
Release Notes:
https://www.kitware.com/cmake-3-24-2-is-available-for-download/
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-02 20:21:55 +02:00
Rosen Penev
0e3d51ccae
tools/cmake: fix compilation with host libzstd-dev
...
cmake's find_package looks at host paths first for some reason. Switch
to using pkgconfig for the search, matching other modules.
Fixes: 3848cf458e ("tools/cmake: Build without some included libs")
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-09-30 13:12:42 -07:00
Rosen Penev
3848cf458e
tools/cmake: Build without some included libs
...
Saves a little bit of time when compiling cmake.
Added patches to fix searching liblzma and zlib. The issue is that
because pkgconfig is not used, the system libraries get used.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-09-29 19:33:17 +02:00
Michael Pratt
1e726ba015
tools/cmake: fix download url with make variables
...
Use a make variable pattern for the url
so that only one version number needs to be changed
when version is bumped.
Signed-off-by: Michael Pratt <mcpratt@pm.me>
2022-09-19 17:30:16 -04:00
Nick Hainke
e12504a4d0
tools/cmake: refresh patches
...
Previous commit forgot to refresh the patches.
This commit refreshes the patches:
- 120-curl-fix-libressl-linking.patch
- 130-bootstrap_parallel_make_flag.patch
Fixes: 3b2f19271c ("tools/cmake: update to 3.24.1")
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-09-07 04:22:39 +01:00
Nick Hainke
3b2f19271c
tools/cmake: update to 3.24.1
...
Update cmake to newest version.
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-08-20 23:26:36 +02:00
leo chung
56f091d467
tools/cmake: fix download url
...
fix the cmake.org download url
Signed-off-by: leo chung <gewalalb@gmail.com>
2022-04-09 15:56:04 +02:00
Rosen Penev
f88a6da020
tools/cmake: update to 3.22.3
...
Seems to be mostly pthread fixes.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-13 19:24:13 +01:00
Rosen Penev
03f55708cb
tools/cmake: update to 3.22.2
...
Mostly random Python 3.10 fixes.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-01 00:08:08 +01:00
Rosen Penev
0d25db7f17
tools/cmake: add MAKE config variable
...
Makes sure that Ninja from staging_dir is used and nowhere else.
Reported by reproducible builds project. Builds have been failing ever
since tools/cmake started using Ninja.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-02-11 12:04:09 +01:00
Josef Schlehofer
4b587f2561
tools/cmake: update to version 3.22.1
...
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-31 15:38:56 +01:00
Rosen Penev
a18047de45
tools/cmake: update to 3.22.0
...
Refreshed patches.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-11-26 21:27:50 +01:00
Rosen Penev
297cb8c147
tools/cmake: update to 3.21.3
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-05 20:59:51 +02:00
Rosen Penev
eef7f9ea37
tools/cmake: update to 3.21.2
...
Refreshed patches.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-05 21:28:43 +02:00
Rosen Penev
5cff6c1abb
tools/cmake: update to 3.20.3 + build with Ninja
...
Compile with Ninja. Ninja compiles faster and is more stable with
parallel builds. Routines copied from cmake.mk.
Speed improves from:
Executed in 127.47 secs fish external
usr time 17.02 mins 446.00 micros 17.02 mins
sys time 1.18 mins 40.00 micros 1.18 mins
to:
Executed in 118.91 secs fish external
usr time 17.28 mins 499.00 micros 17.28 mins
sys time 1.13 mins 45.00 micros 1.13 mins
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-20 20:12:14 -10:00
Sven Wegener
936220186d
tools/cmake: always use non-ccache CC and CXX variables
...
cmake is a dependency of ccache, which means it is build before ccache
is available and hence must be build with non-ccache CC and CXX. It
currently works, because the cmake build system splits the compiler
variable and treats them as multiple compilers to check.
For "ccache gcc" it first tests for "ccache", which always fails,
because ccache is not a compiler by itself, even if it is available, and
then ends up calling "gcc" alone, effectively never using ccache.
Let's make this explicit by forcing the use of non-ccache CC and CXX.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
2021-01-06 21:44:56 -10:00
Hannu Nyman
bfc433efd4
tools/cmake: update to 3.19.1
...
Update cmake to version 3.19.1
Release notes: https://cmake.org/cmake/help/v3.19/release/3.19.html
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-12-15 20:35:00 +01:00
Hannu Nyman
7d03e90390
tools/cmake: update to 3.18.5
...
Update cmake to 3.18.5
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-11-21 18:48:59 +01:00
Hannu Nyman
84834df9b9
tools/cmake: update to 3.18.2
...
Update cmake to version 3.18.2.
Refresh patches.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-08-23 19:40:42 +02:00