microsoft / onnxruntime-extensions

onnxruntime-extensions: A specialized pre- and post- processing library for ONNX Runtime
MIT License
295 stars 80 forks source link

Adding onnxruntime-extensions to conda-forge #699

Open Chizkiyahu opened 2 months ago

Chizkiyahu commented 2 months ago

I am trying to add onnxruntime-extensions to conda using conda-forge

I created a PR of meta.yaml on staged-recipes repo but the all build fails I needs some help with the build/script and requirements/build requirements/host

thanks

wenbingl commented 2 months ago

From the error message that you shared, the issue is related to google/re2 flag. There are two ways to handle that I can think of now, 1) patch google/re2 source code to fix the issue for conda package pipeline. (I think macosx-10.9 is really old system that we don't support it now. 2) disable the re2 related ops by -DOCOS_ENABLE_RE2_REGEX=OFF on cmake configuration.

which one is you preferred?