Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .pyproject/cmdclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ def build_cmake(self, extension):

if self.ort_pkg_dir:
cmake_args += ['-DONNXRUNTIME_PKG_DIR=' + self.ort_pkg_dir]
elif os.environ.get('OCOS_ONNXRUNTIME_PKG_URI'):
cmake_args += ['-DOCOS_ONNXRUNTIME_PKG_URI=' + os.environ.get('OCOS_ONNXRUNTIME_PKG_URI')]

if os.environ.get('OCOS_ONNXRUNTIME_VERSION'):
cmake_args += ['-DOCOS_ONNXRUNTIME_VERSION=' + os.environ.get('OCOS_ONNXRUNTIME_VERSION')]
Comment on lines +208 to +212
Comment on lines +209 to +212

if self.no_opencv:
# Disabling openCV can drastically reduce the build time.
Expand Down