ubuntu20 issue investigation: temporary disable LTO for thirdparty and core parts
This commit is contained in:
parent
73bd3c6bac
commit
5489072e4a
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
if(ENABLE_LTO)
|
if(ENABLE_LTO)
|
||||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ON)
|
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_definitions(-DIN_OV_CORE_LIBRARY)
|
add_definitions(-DIN_OV_CORE_LIBRARY)
|
||||||
|
2
thirdparty/CMakeLists.txt
vendored
2
thirdparty/CMakeLists.txt
vendored
@ -7,7 +7,7 @@ if(SUGGEST_OVERRIDE_SUPPORTED)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ENABLE_LTO)
|
if(ENABLE_LTO)
|
||||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ON)
|
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(ittapi)
|
add_subdirectory(ittapi)
|
||||||
|
Loading…
Reference in New Issue
Block a user