From 38e549ab84c92f6067adeb404119646f7af69a8c Mon Sep 17 00:00:00 2001 From: Mengwei Liu Date: Thu, 27 Mar 2025 20:44:12 -0700 Subject: [PATCH 1/3] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b2bd5c06944..e429d8fefff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "cmake", # For building binary targets in the wheel. + "cmake<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. From c81fd068506d8e02bea5e4e5751c32a0c157c2ba Mon Sep 17 00:00:00 2001 From: Mengwei Liu Date: Thu, 27 Mar 2025 20:53:56 -0700 Subject: [PATCH 2/3] requirements-dev.txt Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index c79f93d0568..a05cf6fa149 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ -cmake>=3.19 # For building binary targets in the wheel. +cmake>=3.19, <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. From ccf5362ab18c23c9bbef8c4d5505b0eb73134b38 Mon Sep 17 00:00:00 2001 From: Mengwei Liu Date: Thu, 27 Mar 2025 21:07:15 -0700 Subject: [PATCH 3/3] tosa-tools Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: --- examples/arm/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/arm/setup.sh b/examples/arm/setup.sh index 5ae7bd7798d..016e03f04a2 100755 --- a/examples/arm/setup.sh +++ b/examples/arm/setup.sh @@ -160,7 +160,7 @@ function setup_tosa_reference_model() { # reference_model flatbuffers version clashes with Vela. # go with Vela's since it newer. # Vela's flatbuffer requirement is expected to loosen, then remove this. MLETORCH-565 - pip install tosa-tools@git+${tosa_reference_model_url}@${tosa_reference_model_rev} --no-dependencies flatbuffers + CMAKE_POLICY_VERSION_MINIMUM=3.5 pip install tosa-tools@git+${tosa_reference_model_url}@${tosa_reference_model_rev} --no-dependencies flatbuffers }