diff --git a/CMakeLists.txt b/CMakeLists.txt index 8977e5c5aa9..1bbd700df55 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,9 @@ # ~~~ # -cmake_minimum_required(VERSION 3.24) +# TODO Lower to 3.24 when XNNPACK dependency is updated to include +# https://github.com/google/XNNPACK/commit/c690daa67f883e1b627aadf7684c06797e9a0684 +cmake_minimum_required(VERSION 3.29) project(executorch) # MARK: - Start EXECUTORCH_H12025_BUILD_MIGRATION diff --git a/pyproject.toml b/pyproject.toml index 686c9ef3b4c..40ff4eb0465 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "cmake<4.0.0", # For building binary targets in the wheel. 4.0.0 breaks third-party CMake build so temporarily pin the version. + "cmake>=3.29,<4.0.0", # For building binary targets in the wheel. 4.0.0 breaks third-party CMake build so temporarily pin the version. "pip>=23", # For building the pip package. "pyyaml", # Imported by the kernel codegen tools. "setuptools>=63", # For building the pip package contents. diff --git a/requirements-dev.txt b/requirements-dev.txt index 297d275870f..1743b142a4d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,6 +1,6 @@ # Pip packages needed to build from source. Mainly for development of ExecuTorch. -cmake>=3.19, <4.0.0 # For building binary targets in the wheel. +cmake>=3.29, <4.0.0 # For building binary targets in the wheel. pip>=23 # For building the pip package. pyyaml # Imported by the kernel codegen tools. setuptools>=63 # For building the pip package contents.