Skip to content
24 changes: 24 additions & 0 deletions .agents/docs/2026-10-11-add-onnxruntime-plan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# ONNX Runtime 1.31.0 compat package

- Branch: `add-onnxruntime`.
- Source: [microsoft/onnxruntime](https://github.com/microsoft/onnxruntime),
release `v1.31.0`, MIT licensed.
- Shape: Form B with an external CMake build hook. ONNX Runtime cannot be
represented by a source glob: the upstream build generates protobuf and
flatbuffers sources and fetches its pinned dependency graph from
`cmake/external/deps.txt`.
- Build profile: CPU execution provider only. CUDA, TensorRT, OpenVINO,
CoreML, DNNL, XNNPACK, mimalloc, language bindings, tests, and optional
provider plugins are disabled. The upstream shared library is installed
into the package prefix, and the mcpp descriptor links it through a small C
anchor target.
- Platforms: Linux, macOS, and Windows use the same source archive and the
upstream CMake platform selection. `xim:cmake` is declared as the build
dependency on each platform.
- Test: `tests/examples/onnxruntime` includes the installed public C API and
calls `OrtGetApiBase()` as a cross-platform runtime smoke test. The C API
header is installed at `include/onnxruntime/onnxruntime_c_api.h`.
- CN mirror: not declared because no mcpp-res upload is available; the
descriptor uses the permitted upstream URL fallback. The release archive
SHA-256 is
`a7e84230b5d509e48fbd6b73c2453a56345ccb22da34a46dac1f0cb4a2d6507b`.
1 change: 1 addition & 0 deletions mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ members = [
"tests/examples/glm",
"tests/examples/libaio",
"tests/examples/libserial",
"tests/examples/onnxruntime",
"tests/examples/apriltag",
"tests/examples/libassert",
"tests/examples/libcoro",
Expand Down
7 changes: 0 additions & 7 deletions pkgs/c/compat.etl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ package = {
repo = "https://github.com/ETLCPP/etl",
type = "package",

extensions = {
autoupdate = {
tag = "${version}",
url = "https://github.com/ETLCPP/etl/archive/refs/tags/${tag}.tar.gz",
},
},

xpm = {
linux = {
["20.49.0"] = {
Expand Down
Loading
Loading