- use downloaded protobuf-22.3 --- CMakeLists.txt.orig 2022-11-09 12:37:21 UTC +++ CMakeLists.txt @@ -32,7 +32,7 @@ endif() endif() -option(ONNX_BUILD_PYTHON "Build Python binaries" OFF) +option(ONNX_BUILD_PYTHON "Build Python binaries" ON) option(ONNX_BUILD_CUSTOM_PROTOBUF "Build and use ONNX's own protobuf" OFF) option(ONNX_USE_PROTOBUF_SHARED_LIBS "Build ONNX using protobuf shared library." OFF) option(ONNX_GEN_PB_TYPE_STUBS "Generate protobuf python type stubs" ON) @@ -41,7 +41,7 @@ option(ONNX_HARDENING "Build with compiler hardening f option(ONNX_BUILD_TESTS "Build ONNX C++ APIs Tests" OFF) option(ONNX_USE_ASAN "Build ONNX with ASAN" OFF) option(ONNX_HARDENING "Build with compiler hardening flags (OpenSSF guidelines)" OFF) -option(ONNX_USE_LITE_PROTO "Use lite protobuf instead of full." OFF) +option(ONNX_USE_LITE_PROTO "Use lite protobuf instead of full." ON) option(ONNX_DISABLE_EXCEPTIONS "Disable exception handling." OFF) option(ONNX_DISABLE_STATIC_REGISTRATION "Disable static registration for ONNX operator schemas." OFF) option(ONNX_USE_UNITY_BUILD "Enable Unity (Jumbo) build for" OFF)