mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-24 19:43:35 +00:00
This commit is contained in:
parent
e9e777925f
commit
7717ed71a9
1 changed files with 2 additions and 0 deletions
|
|
@ -377,6 +377,8 @@ def generate_build_tree(cmake_path, source_dir, build_dir, cuda_home, cudnn_home
|
|||
|
||||
if args.gen_doc:
|
||||
cmake_args += ["-Donnxruntime_PYBIND_EXPORT_OPSCHEMA=ON"]
|
||||
else:
|
||||
cmake_args += ["-Donnxruntime_PYBIND_EXPORT_OPSCHEMA=OFF"]
|
||||
|
||||
cmake_args += ["-D{}".format(define) for define in cmake_extra_defines]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue