summaryrefslogtreecommitdiffstats
path: root/tools/cmake
Commit message (Collapse)AuthorAgeFilesLines
* tools/cmake: disable xcode generatorFelix Fietkau2024-03-291-0/+22
| | | | | | Fixes build on latest macOS SDK Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/cmake: update to 3.29.0Nick Hainke2024-03-294-5/+5
| | | | | | | | | | | | 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>
* tools/cmake: update to 3.28.3Nick Hainke2024-02-061-2/+2
| | | | | | | Release Notes: https://www.kitware.com/cmake-3-28-3-available-for-download/ Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: update to 3.28.2Nick Hainke2024-01-301-2/+2
| | | | | | | Release Notes: https://www.kitware.com/cmake-3-28-2-available-for-download/ Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: update to 3.28.1Nick Hainke2023-12-181-2/+2
| | | | | | | Release Notes: https://www.kitware.com/cmake-3-28-1-available-for-download/ Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: update to 3.28.0Nick Hainke2023-12-123-4/+4
| | | | | | | | | | | 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>
* tools/cmake: update to 3.27.9Nick Hainke2023-12-071-2/+2
| | | | | | | | 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>
* tools/cmake: disable cmake script debuggerMichael Pratt2023-10-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* tools/cmake: update to 3.27.5Nick Hainke2023-10-121-2/+2
| | | | | | | | | 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>
* tools/cmake: update to 3.27.4Hannu Nyman2023-09-031-2/+2
| | | | | | | Update cmake to 3.27.4 No patch refresh needed. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/cmake: update to 3.27.1Rosen Penev2023-08-025-21/+14
| | | | | | Fix zstd linking again. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/cmake: update to 3.26.4Nick Hainke2023-05-191-2/+2
| | | | | | | Changelog: https://www.kitware.com/cmake-3-26-4-available-for-download/ Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: update to 3.26.3Nick Hainke2023-04-191-2/+2
| | | | | | | | | 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>
* tools/cmake: bump to 3.26.0Linhui Liu2023-03-203-5/+5
| | | | | | | Release Notes: https://cmake.org/cmake/help/v3.26/release/3.26.html Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/cmake: remove rpath ldflagRosen Penev2023-02-091-2/+0
| | | | | | no longer needed because of tools/zstd Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/cmake: update to 3.25.2Linhui Liu2023-01-241-2/+2
| | | | | | | Release Notes: https://cmake.org/cmake/help/latest/release/3.25.html#id2 Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/cmake: update to 3.25.1Hannu Nyman2022-12-064-5/+5
| | | | | | | | Update cmake to version 3.25.1 * refresh patches Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/cmake: update to 3.24.2Nick Hainke2022-10-021-2/+2
| | | | | | | Release Notes: https://www.kitware.com/cmake-3-24-2-is-available-for-download/ Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: fix compilation with host libzstd-devRosen Penev2022-09-301-0/+18
| | | | | | | | cmake's find_package looks at host paths first for some reason. Switch to using pkgconfig for the search, matching other modules. Fixes: 3848cf458ef9 ("tools/cmake: Build without some included libs") Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/cmake: Build without some included libsRosen Penev2022-09-293-0/+43
| | | | | | | | | 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>
* tools/cmake: fix download url with make variablesMichael Pratt2022-09-191-1/+2
| | | | | | | | 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>
* tools/cmake: refresh patchesNick Hainke2022-09-072-2/+2
| | | | | | | | | | | 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: 3b2f19271cc2 ("tools/cmake: update to 3.24.1") Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: update to 3.24.1Nick Hainke2022-08-201-3/+3
| | | | | | Update cmake to newest version. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: fix download urlleo chung2022-04-091-1/+1
| | | | | | fix the cmake.org download url Signed-off-by: leo chung <gewalalb@gmail.com>
* tools/cmake: update to 3.22.3Rosen Penev2022-03-131-2/+2
| | | | | | Seems to be mostly pthread fixes. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/cmake: update to 3.22.2Rosen Penev2022-03-011-2/+2
| | | | | | Mostly random Python 3.10 fixes. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/cmake: add MAKE config variableRosen Penev2022-02-111-1/+2
| | | | | | | | | 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>
* tools/cmake: update to version 3.22.1Josef Schlehofer2021-12-311-2/+2
| | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* tools/cmake: update to 3.22.0Rosen Penev2021-11-263-4/+4
| | | | | | Refreshed patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/cmake: update to 3.21.3Rosen Penev2021-10-051-2/+2
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/cmake: update to 3.21.2Rosen Penev2021-09-053-4/+4
| | | | | | Refreshed patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/cmake: update to 3.20.3 + build with NinjaRosen Penev2021-06-201-3/+16
| | | | | | | | | | | | | | | | | | | 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>
* tools/cmake: always use non-ccache CC and CXX variablesSven Wegener2021-01-061-14/+2
| | | | | | | | | | | | | | | 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>
* tools/cmake: update to 3.19.1Hannu Nyman2020-12-153-5/+5
| | | | | | | | 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>
* tools/cmake: update to 3.18.5Hannu Nyman2020-11-212-3/+3
| | | | | | Update cmake to 3.18.5 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/cmake: update to 3.18.2Hannu Nyman2020-08-234-16/+16
| | | | | | | Update cmake to version 3.18.2. Refresh patches. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/cmake: fix typo in parallel make patchPiotr Stefaniak2020-08-102-1/+2
| | | | | | | | | | | | | The variable in the case argument was mistyped, so the case always checked against an empty string and never matched. Fix the variable name. Add a PKG_RELEASE to Makefile so we can bump it. Fixes: d6de31310cc1 ("cmake: restore parallel build support for bootstrap") Signed-off-by: Piotr Stefaniak <pstef@freebsd.org> [add commit message, add PKG_RELEASE, fix commit title, add Fixes:] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* Revert "build: fix typo in cmake patch"Adrian Schmutzler2020-08-091-1/+1
| | | | | | | | | This reverts commit 685570858dc6b19329594c6efd2c20f1898976f9. The commit had several formal flaws, revert it and hopefully apply it properly next time. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* build: fix typo in cmake patchPiotr Stefaniak2020-08-091-1/+1
| | | | | | | | | | | The variable in the case argument was mistyped, so the case always checked against an empty string and never matched. Fix the variable name. Signed-off-by: Piotr Stefaniak <pstef@freebsd.org> [add commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* tools/cmake: update to 3.17.0Rosen Penev2020-04-066-74/+37
| | | | | | | | | | | Remove libressl patches; they are no longer needed as LibreSSl adde support Replace qt tests patch with one that disables all of them. Refresh remaining one. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/cmake: Update to 3.16.5Yufei Miao2020-03-121-2/+2
| | | | | | Update cmake to 3.16.5 Signed-off-by: Yufei Miao <myf@myf.cloud>
* tools/cmake: update to 3.16.2Hannu Nyman2020-01-184-9/+9
| | | | | | | | | Update cmake to 3.16.2 and refresh patches. Release notes: https://cmake.org/cmake/help/v3.16/release/3.16.html Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/cmake: Update to 3.15.1Daniel Engberg2019-09-015-33/+22
| | | | | | | | | | | | Update CMake to 3.15.1 Refresh patches Remove inofficial fossies.org and replace with GitHub (link on official site) Remove 150-C-feature-checks-Match-warnings-more-strictly.patch as it's a no longer needed backport from upstream. Disable ccache if GCC is 4.8, 4.9 or 5.X to avoid build failures. Reference: https://github.com/openwrt/openwrt/pull/1929 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* Revert "tools/cmake: Update to 3.14.0"Stijn Tintel2019-03-175-8/+33
| | | | | | | | The cmake bump to 3.14.0 breaks build on all targets. Revert it for now. This reverts commit a3446257a8737bfc2899c5911791873561feecc7. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* tools/cmake: Update to 3.14.0Daniel Engberg2019-03-165-33/+8
| | | | | | | | | | Update CMake to 3.14.0 Refresh patches Remove inofficial fossies.org and replace with GitHub (link on official site) Remote 150-C-feature-checks-Match-warnings-more-strictly.patch as it's a no longer needed backport from upstream. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* cmake: match warnings more strictly in C++ feature checksMoritz Warning2019-03-101-0/+25
| | | | | | | | | Require the word "warning" to appear at the start of a line, after whitespace, or after a `:`. This is the same that CTest launchers use to match warnings. It avoids matching "warning" inside file paths. Fixed in cmake 3.14.0. Signed-off-by: Moritz Warning <moritzwarning@web.de>
* tools/cmake: update to 3.13.2Hans Dedecker2018-12-294-8/+8
| | | | | | | | Update to the latest stable version and refresh patches; see https://cmake.org/cmake/help/v3.13/release/3.13.html for the latest changes in 3.13.x Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* tools/cmake: Update to 3.12.4Daniel Engberg2018-11-121-2/+2
| | | | | | Update cmake to 3.12.4 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* tools/cmake: Update to 3.12.3Daniel Engberg2018-10-072-14/+2
| | | | | | Update CMake to 3.12.3 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* tools/cmake: Update to 3.12.2Daniel Engberg2018-09-091-2/+2
| | | | | | Update CMake to 3.12.2 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>