2021-03-08 21:31:15 -06:00
|
|
|
# Copyright (C) 2018-2021 Intel Corporation
|
2020-02-11 13:48:49 -06:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
2021-03-08 21:31:15 -06:00
|
|
|
ie_dependent_option (ENABLE_MKL_DNN "MKL-DNN plugin for inference engine" ON "X86_64" OFF)
|
2020-02-11 13:48:49 -06:00
|
|
|
|
2020-12-22 09:44:59 -06:00
|
|
|
ie_option (ENABLE_TESTS "unit, behavior and functional tests" OFF)
|
2020-04-13 13:17:23 -05:00
|
|
|
|
2020-12-22 09:44:59 -06:00
|
|
|
ie_dependent_option (ENABLE_CLDNN "clDnn based plugin for inference engine" ON "X86_64;NOT APPLE;NOT MINGW;NOT WINDOWS_STORE;NOT WINDOWS_PHONE" OFF)
|
2020-08-03 04:53:00 -05:00
|
|
|
|
2020-10-14 05:08:06 -05:00
|
|
|
ie_option (ENABLE_PROFILING_ITT "Build with ITT tracing. Optionally configure pre-built ittnotify library though INTEL_VTUNE_DIR variable." OFF)
|
2020-09-23 03:15:02 -05:00
|
|
|
|
2021-04-28 23:33:21 -05:00
|
|
|
ie_option_enum(ENABLE_PROFILING_FILTER "Enable or disable ITT counter groups.\
|
|
|
|
Supported values:\
|
|
|
|
ALL - enable all ITT counters (default value)\
|
|
|
|
FIRST_INFERENCE - enable only first inference time counters" ALL
|
|
|
|
ALLOWED_VALUES ALL FIRST_INFERENCE)
|
|
|
|
|
|
|
|
ie_option (ENABLE_PROFILING_FIRST_INFERENCE "Build with ITT tracing of first inference time." ON)
|
|
|
|
|
2020-11-26 06:38:55 -06:00
|
|
|
ie_option (ENABLE_DOCS "Build docs using Doxygen" OFF)
|
2020-09-28 10:53:11 -05:00
|
|
|
|
2020-12-09 08:13:32 -06:00
|
|
|
ie_option(ENABLE_TEMPLATE_PLUGIN "Register template plugin into plugins.xml" OFF)
|
|
|
|
|
2020-11-24 21:43:35 -06:00
|
|
|
ie_option_enum(SELECTIVE_BUILD "Enable OpenVINO conditional compilation or statistics collection. \
|
|
|
|
In case SELECTIVE_BUILD is enabled, the SELECTIVE_BUILD_STAT variable should contain the path to the collected InelSEAPI statistics. \
|
|
|
|
Usage: -DSELECTIVE_BUILD=ON -DSELECTIVE_BUILD_STAT=/path/*.csv" OFF
|
|
|
|
ALLOWED_VALUES ON OFF COLLECT)
|
2020-11-30 21:33:36 -06:00
|
|
|
|
2020-12-22 23:01:07 -06:00
|
|
|
ie_option(ENABLE_ERROR_HIGHLIGHT "Highlight errors and warnings during compile time" OFF)
|
|
|
|
|
2021-06-07 02:52:48 -05:00
|
|
|
# Try to find python3
|
|
|
|
find_package(PythonLibs 3 QUIET)
|
|
|
|
ie_dependent_option (ENABLE_PYTHON "enables ie python bridge build" OFF "PYTHONLIBS_FOUND" OFF)
|
2021-03-22 05:28:40 -05:00
|
|
|
|
|
|
|
#
|
|
|
|
# enable or disable output from NGRAPH_DEBUG statements
|
|
|
|
#
|
2021-06-07 02:52:48 -05:00
|
|
|
|
2021-03-22 05:28:40 -05:00
|
|
|
if(NGRAPH_DEBUG_ENABLE)
|
|
|
|
add_definitions(-DNGRAPH_DEBUG_ENABLE)
|
|
|
|
endif()
|
|
|
|
|
2020-12-22 09:44:59 -06:00
|
|
|
#
|
|
|
|
# Process options
|
|
|
|
#
|
|
|
|
|
|
|
|
print_enabled_features()
|