onnxruntime-extensions/tools
Scott McKay 2cf9bab611
Add ability to create a 'dummy' nuget package using build with no ops (#573)
* Add ability to create a 'dummy' nuget package from a build with no ops. This is required on iOS due to the ORT C# package including the ability to register custom ops. That creates a compile time dependency for the RegisterCustomOps symbol to exist. If the user can't (Xamarin) or does not want to use extensions that results in usage of ORT being broken.

For simplicity, consistency and to minimize changes to the build infrastructure we build a nuget package for all platforms so everything is 1:1 with the real package except the build uses an empty config to select the ops to include. Technically we only need something with iOS builds.

We should only need to publish this once unless the RegisterCustomOps API changes.

* Address PR comments

* Update .pipelines/nuget.yml

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>

---------

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
2023-10-21 09:44:26 +10:00
..
android Add ability to create a 'dummy' nuget package using build with no ops (#573) 2023-10-21 09:44:26 +10:00
ci_build Add ability to create a 'dummy' nuget package using build with no ops (#573) 2023-10-21 09:44:26 +10:00
ios Enable C++ unit tests on iOS (#560) 2023-09-18 18:52:30 -05:00
utils Enable running C++ unit tests on Android (#547) 2023-08-28 15:02:47 -07:00
build.py Enable C++ unit tests on iOS (#560) 2023-09-18 18:52:30 -05:00
gen_customop_template.py Update Custom Op Template Gen based on recent changes (#371) 2023-02-27 16:59:31 -08:00
gen_selectedops.py Add more HF tokenizer supports in gen_processing_models (#531) 2023-08-18 17:09:22 -07:00
generate_unicode_category_table.py Fix ::tolower error when locale is not 'C' (#174) 2021-10-20 20:59:29 -07:00
get_vsdevcmd.ps1 port the fixing from the release branch (#375) 2023-03-02 14:12:31 -08:00
install_deps.bat Make CIs pass with Azure ops enabled by default. (#518) 2023-08-12 17:45:59 +10:00
install_deps.sh Make CIs pass with Azure ops enabled by default. (#518) 2023-08-12 17:45:59 +10:00
test_cibuildwheel.bat test against rc (#544) 2023-08-24 15:36:55 -07:00
test_cibuildwheel.sh test against rc (#544) 2023-08-24 15:36:55 -07:00