CMake 3.20 or higher is now required to build Zephyr.


Rasmussen, Torsten
 

Zephyr https://github.com/zephyrproject-rtos/zephyr/tree/main now requires CMake version 3.20 or newer.

 

The docs has been updated with info on how to do this on systems that has an older CMake per default:
https://docs.zephyrproject.org/latest/getting_started/index.html#install-dependencies

For Ubuntu users, an easy guide is found here:
https://apt.kitware.com/

The main reason for increasing CMake version is better toolchain
support.
The decision to bump the CMake version was taken by the Toolchain WG.

Better toolchain support is added in the following CMake versions:

  • armclang, CMake 3.15
  • Intel oneAPI, CMake 3.20
  • IAR, CMake 3.15 and 3.20

 

 

Torsten Tejlmand Rasmussen

Senior R&D Engineer

P: +47 72 89 92 47

 

Nordic

 

Nordic Semiconductor

Otto Nielsens veg 12, 7052 Trondheim, Norway

www.nordicsemi.com

 

 

SM_symbol_FB  nordic_symbol_small_TW  nordic_symbol_small_YT_ny2  nordic_symbol_small_IN  

 

DevZone

           

 


Yasushi SHOJI
 

Hi,


On Fri, Aug 20, 2021 at 10:19 PM Rasmussen, Torsten <torsten.rasmussen@...> wrote:
>
> Zephyr https://github.com/zephyrproject-rtos/zephyr/tree/main now requires CMake version 3.20 or newer.

Here are some links related to this requirement bump:

- Working group minuets
- PR
- CI bump
- Debian package tracker
- Debian & Ubuntu package versions
  https://packages.debian.org/search?keywords=cmake&searchon=sourcenames
- CMake releases
- CMake release history on PyPI
-- 
                yashi