Skip to content

ros-controls/onnxruntime_vendor

onnxruntime_vendor

Vendor package for ONNX Runtime.

Downloads the official prebuilt ONNX Runtime Linux x86_64 binary at build time and exposes it as a CMake imported target (onnxruntime::onnxruntime) for use by other ROS 2 packages.

Building

colcon build --packages-select onnxruntime_vendor

ONNX Runtime is fetched automatically from GitHub releases during the build — no manual download required.

Using in another package

In your CMakeLists.txt:

find_package(onnxruntime_vendor REQUIRED)

target_link_libraries(my_target PRIVATE onnxruntime::onnxruntime)

In your package.xml:

<depend>onnxruntime_vendor</depend>

The installed layout under opt/onnxruntime_vendor/ mirrors the upstream ONNX Runtime release tarball:

opt/onnxruntime_vendor/
  include/   # ONNX Runtime headers
  lib/       # libonnxruntime.so and related libraries

Licensing

This package is part of a larger project licensed under the Apache License 2.0 (see the top-level LICENSE file).

ONNX Runtime itself is developed by Microsoft Corporation and distributed under the MIT License. The prebuilt ONNX Runtime binaries and headers used by this vendor package are obtained from the official microsoft/onnxruntime GitHub releases.

For the full ONNX Runtime license text, see LICENSE-ONNXRUNTIME in this directory.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
LICENSE-ONNXRUNTIME

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages