[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
This commit is contained in:
cyy
2025-05-06 01:02:15 +00:00
committed by PyTorch MergeBot
parent 721fdfa32d
commit ac792a0dca
2 changed files with 2 additions and 9 deletions

View File

@ -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})