20200415-ngraph-disable-unused-options.patch 590 B

1234567891011121314
  1. diff --git a/CMakeLists.txt b/CMakeLists.txt
  2. index edf8233f..addac6cd 100644
  3. --- a/CMakeLists.txt
  4. +++ b/CMakeLists.txt
  5. @@ -78,8 +78,7 @@ function(build_ngraph)
  6. if (NOT ANDROID)
  7. ngraph_set(NGRAPH_UNIT_TEST_ENABLE TRUE)
  8. ngraph_set(NGRAPH_UNIT_TEST_OPENVINO_ENABLE TRUE)
  9. - # ngraph_set(NGRAPH_ONNX_IMPORT_ENABLE TRUE)
  10. - set(NGRAPH_ONNX_IMPORT_ENABLE TRUE CACHE BOOL "" FORCE)
  11. + ngraph_set(NGRAPH_ONNX_IMPORT_ENABLE TRUE)
  12. else()
  13. ngraph_set(NGRAPH_UNIT_TEST_ENABLE FALSE)
  14. ngraph_set(NGRAPH_TEST_UTIL_ENABLE FALSE)