Skip to content

Pre-built release files are missing an include #5387

@nbigaouette

Description

@nbigaouette

Describe the bug

The pre-built binaries for both Linux and macOS seems to be missing the header onnxruntime_session_options_config_keys.h. This files is required since it is referenced in onnxruntime_c_api.h:
https://github.com/microsoft/onnxruntime/blob/v1.5.1/include/onnxruntime/core/session/onnxruntime_c_api.h#L8

The file onnxruntime_session_options_config_keys.h was a renamed (from session_options_config_keys.h) that happened in #4854.

The Windows zip archive does contain the header file.

Because of this, the main header file onnxruntime_c_api.h from the release archives on mac and linux cannot be used.

Urgency

none

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Both Linux and macOS
  • ONNX Runtime installed from (source or binary): binary
  • ONNX Runtime version: 1.5.1
  • Python version: N/A
  • Visual Studio version (if applicable): N/A
  • GCC/Compiler version (if compiling from source): N/A
  • CUDA/cuDNN version: N/A
  • GPU model and memory: N/A

To Reproduce

Expected behavior
onnxruntime_session_options_config_keys.h should be included in archives.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions