onnxruntime/onnxruntime/python/version_script_expose_onnx_protobuf.lds
satyajandhyala 31926176ac
Support external custom operator schemas on Ubuntu (#8807)
* Expose symbols in onnx and protobuf namespaces in python when building with --enable_external_custom_op_schemas

* Add external onnx and protobuf files to wheel

* Added an example to demonstrate external custom ops use-case

* Added a Linux build pipeline to test external custom ops
2021-08-28 11:05:21 -07:00

13 lines
209 B
Text

#_init and _fini should be local
VERS_1.0 {
global:
PyInit_onnxruntime_pybind11_state;
extern "C++" {
onnx::*;
google::protobuf::*;
};
# Hide everything else.
local:
*;
};