Skip to content

Commit

Permalink
One fix for #1397, disable onnxruntime_PYBIND_EXPORT_OPSCHEMA is --ge…
Browse files Browse the repository at this point in the history
…n_doc is not set up
  • Loading branch information
sdpython committed Jul 13, 2019
1 parent 719e58d commit fe387b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/ci_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,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]

Expand Down

0 comments on commit fe387b2

Please sign in to comment.