mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[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:
@ -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})
|
||||
|
2
third_party/ittapi
vendored
2
third_party/ittapi
vendored
Submodule third_party/ittapi updated: 5b8a7d7422...dec1d23ca6
Reference in New Issue
Block a user