From eaa9838b3ced49bdfa6d8c094d4e72cbb2406ec4 Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Mon, 4 Aug 2025 16:23:41 -0700 Subject: [PATCH] Change a couple cmake mins Signed-off-by: Tom Rix --- python-torch.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python-torch.spec b/python-torch.spec index 1fbad8e..e3cfb6d 100644 --- a/python-torch.spec +++ b/python-torch.spec @@ -449,6 +449,11 @@ sed -i -e 's@list(APPEND Caffe2_DEPENDENCY_LIBS foxi_loader)@#list(APPEND Caffe2 # cmake version changed sed -i -e 's@cmake_minimum_required(VERSION 3.4)@cmake_minimum_required(VERSION 3.5)@' third_party/tensorpipe/third_party/libuv/CMakeLists.txt +sed -i -e 's@cmake_minimum_required(VERSION 3.4)@cmake_minimum_required(VERSION 3.5)@' libuv*/CMakeLists.txt +%if %{without opentelemtry} +sed -i -e 's@cmake_minimum_required(VERSION 3.1)@cmake_minimum_required(VERSION 3.5)@' third_party/opentelemetry-cpp/CMakeLists.txt +%endif + %if %{with rocm} # hipify