From ac792a0dca789c3075d9721ea75b1ea538767e74 Mon Sep 17 00:00:00 2001 From: cyy Date: Tue, 6 May 2025 01:02:15 +0000 Subject: [PATCH] [submodule] Bump ITTAPI to 3.25.5 (#150263) It hasn't been updated for 3 years. And also to remove CMake 4 workaround. Pull Request resolved: https://github.com/pytorch/pytorch/pull/150263 Approved by: https://github.com/sraikund16 --- cmake/Dependencies.cmake | 9 +-------- third_party/ittapi | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake index 1a151747750..c7f3ec76e62 100644 --- a/cmake/Dependencies.cmake +++ b/cmake/Dependencies.cmake @@ -790,14 +790,7 @@ if(USE_NUMA) endif() if(USE_ITT) - if(CMAKE_VERSION VERSION_GREATER_EQUAL "4.0.0") - message(WARNING "ITT is only cmake-2.8 compatible") - set(CMAKE_POLICY_VERSION_MINIMUM 3.5) - find_package(ITT) - unset(CMAKE_POLICY_VERSION_MINIMUM) - else() - find_package(ITT) - endif() + find_package(ITT) if(ITT_FOUND) include_directories(SYSTEM ${ITT_INCLUDE_DIR}) list(APPEND Caffe2_DEPENDENCY_LIBS ${ITT_LIBRARIES}) diff --git a/third_party/ittapi b/third_party/ittapi index 5b8a7d74226..dec1d23ca65 160000 --- a/third_party/ittapi +++ b/third_party/ittapi @@ -1 +1 @@ -Subproject commit 5b8a7d7422611c3a0d799fb5fc5dd4abfae35b42 +Subproject commit dec1d23ca65ab069d225dfe40dea14f455170959