disable MEMLEAK CHECKER for openvino

This commit is contained in:
George Wu 2020-06-09 23:01:59 -07:00 committed by Changming Sun
parent c296884fc3
commit e8ed14bcb3

View file

@ -816,7 +816,7 @@ def generate_build_tree(cmake_path, source_dir, build_dir, cuda_home,
cmake_args + [
"-Donnxruntime_ENABLE_MEMLEAK_CHECKER="
+ ("ON" if config.lower() == 'debug' and not args.use_tvm
and not args.use_ngraph and
and not args.use_ngraph and not args.use_openvino and
not args.enable_msvc_static_runtime
else "OFF"), "-DCMAKE_BUILD_TYPE={}".format(config)],
cwd=config_build_dir)