Fixed LTO build (#16629)

* Partially fixed LTO

* Fixed issues with cnpy LTO

* CPU

* Disabled failing GPU test
This commit is contained in:
Ilya Lavrenov authored and GitHub committed 2023-03-31 11:34:42 +04:00
1 parent 43fca3d231
commit ee0bb79ed6
9 files changed
+10 -12

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ include(target_flags)
# FIXME: there are compiler failures with LTO and Cross-Compile toolchains. Disabling for now, but
# this must be addressed in a proper way
ie_dependent_option (ENABLE_LTO "Enable Link Time Optimization" OFF
"LINUX OR (APPLE AND AARCH64);EMSCRIPTEN OR NOT CMAKE_CROSSCOMPILING;CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.9" OFF)
"LINUX;EMSCRIPTEN OR NOT CMAKE_CROSSCOMPILING;CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.9" OFF)
ie_option (OS_FOLDER "create OS dedicated folder in output" OFF)