Date: Tue, 17 Jun 2025 05:50:26 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 8300a2640608 - main - misc/onnxruntime: Install a public shared library instead of private static ones Message-ID: <202506170550.55H5oQur003102@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=8300a2640608e076bbf76ee09ffe180740821356 commit 8300a2640608e076bbf76ee09ffe180740821356 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2025-06-01 14:16:57 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2025-06-17 05:48:08 +0000 misc/onnxruntime: Install a public shared library instead of private static ones PR: 287253 Approved by: yuri (maintainer timeout) --- misc/onnxruntime/Makefile | 2 + misc/onnxruntime/pkg-plist | 112 ++++++--------------------------------------- 2 files changed, 17 insertions(+), 97 deletions(-) diff --git a/misc/onnxruntime/Makefile b/misc/onnxruntime/Makefile index a9f47162557f..5fb26c1ce473 100644 --- a/misc/onnxruntime/Makefile +++ b/misc/onnxruntime/Makefile @@ -1,6 +1,7 @@ PORTNAME= onnxruntime DISTVERSIONPREFIX= v DISTVERSION= 1.21.1 +PORTREVISION= 1 CATEGORIES= misc # machine-learning DIST_SUBDIR= ${PORTNAME} @@ -27,6 +28,7 @@ GH_TUPLE= emscripten-core:emsdk:0742117:emsdk/cmake/external/emsdk \ onnx:onnx:b8baa8446686496da4cc8fda09f2b6fe65c2a02c:onnx/cmake/external/onnx CMAKE_SOURCE_PATH= ${WRKSRC}/cmake +CMAKE_ON= onnxruntime_BUILD_SHARED_LIB CMAKE_OFF= FETCHCONTENT_FULLY_DISCONNECTED \ onnxruntime_BUILD_UNIT_TESTS CMAKE_ARGS= -Donnx_SOURCE_DIR=${WRKSRC}/cmake/external/onnx diff --git a/misc/onnxruntime/pkg-plist b/misc/onnxruntime/pkg-plist index 0d596eed34f3..00f409a845ee 100644 --- a/misc/onnxruntime/pkg-plist +++ b/misc/onnxruntime/pkg-plist @@ -1,102 +1,20 @@ -include/onnxruntime/core/common/basic_types.h -include/onnxruntime/core/common/code_location.h -include/onnxruntime/core/common/common.h -include/onnxruntime/core/common/const_pointer_container.h -include/onnxruntime/core/common/denormal.h -include/onnxruntime/core/common/eigen_common_wrapper.h -include/onnxruntime/core/common/exceptions.h -include/onnxruntime/core/common/gpu_profiler_common.h -include/onnxruntime/core/common/hash_combine.h -include/onnxruntime/core/common/inlined_containers.h -include/onnxruntime/core/common/inlined_containers_fwd.h -include/onnxruntime/core/common/logging/capture.h -include/onnxruntime/core/common/logging/isink.h -include/onnxruntime/core/common/logging/logging.h -include/onnxruntime/core/common/logging/macros.h -include/onnxruntime/core/common/logging/severity.h -include/onnxruntime/core/common/logging/sink_types.h -include/onnxruntime/core/common/make_string.h -include/onnxruntime/core/common/narrow.h -include/onnxruntime/core/common/optional.h -include/onnxruntime/core/common/parse_string.h -include/onnxruntime/core/common/profiler_common.h -include/onnxruntime/core/common/span_utils.h -include/onnxruntime/core/common/spin_pause.h -include/onnxruntime/core/common/status.h -include/onnxruntime/core/common/string_helper.h -include/onnxruntime/core/framework/alloc_kind.h -include/onnxruntime/core/framework/allocator.h -include/onnxruntime/core/framework/buffer_deleter.h -include/onnxruntime/core/framework/customregistry.h -include/onnxruntime/core/framework/data_types.h -include/onnxruntime/core/framework/data_types_internal.h -include/onnxruntime/core/framework/endian.h -include/onnxruntime/core/framework/execution_provider.h -include/onnxruntime/core/framework/float16.h -include/onnxruntime/core/framework/float8.h -include/onnxruntime/core/framework/framework_common.h -include/onnxruntime/core/framework/framework_provider_common.h -include/onnxruntime/core/framework/func_api.h -include/onnxruntime/core/framework/int4.h -include/onnxruntime/core/framework/kernel_def_builder.h -include/onnxruntime/core/framework/kernel_registry.h -include/onnxruntime/core/framework/op_kernel.h -include/onnxruntime/core/framework/op_kernel_context.h -include/onnxruntime/core/framework/op_kernel_info.h -include/onnxruntime/core/framework/op_node_proto_helper.h -include/onnxruntime/core/framework/ort_value.h -include/onnxruntime/core/framework/ortdevice.h -include/onnxruntime/core/framework/ortmemoryinfo.h -include/onnxruntime/core/framework/provider_options.h -include/onnxruntime/core/framework/provider_options_utils.h -include/onnxruntime/core/framework/provider_shutdown.h -include/onnxruntime/core/framework/resource_accountant.h -include/onnxruntime/core/framework/run_options.h -include/onnxruntime/core/framework/sparse_tensor.h -include/onnxruntime/core/framework/stream_handles.h -include/onnxruntime/core/framework/tensor.h -include/onnxruntime/core/framework/tensor_shape.h -include/onnxruntime/core/framework/to_tensor_proto_element_type.h -include/onnxruntime/core/graph/basic_types.h -include/onnxruntime/core/graph/constants.h -include/onnxruntime/core/graph/function.h -include/onnxruntime/core/graph/graph.h -include/onnxruntime/core/graph/graph_nodes.h -include/onnxruntime/core/graph/graph_viewer.h -include/onnxruntime/core/graph/indexed_sub_graph.h -include/onnxruntime/core/graph/model_saving_options.h -include/onnxruntime/core/graph/node_arg.h -include/onnxruntime/core/graph/onnx_protobuf.h -include/onnxruntime/core/graph/schema_registry.h -include/onnxruntime/core/optimizer/graph_transformer.h -include/onnxruntime/core/optimizer/graph_transformer_config.h -include/onnxruntime/core/optimizer/graph_transformer_level.h -include/onnxruntime/core/optimizer/graph_transformer_utils.h -include/onnxruntime/core/optimizer/rewrite_rule.h -include/onnxruntime/core/optimizer/rule_based_graph_transformer.h include/onnxruntime/core/providers/custom_op_context.h include/onnxruntime/core/providers/resource.h -include/onnxruntime/core/session/environment.h -include/onnxruntime/core/session/experimental_onnxruntime_cxx_api.h -include/onnxruntime/core/session/experimental_onnxruntime_cxx_inline.h -include/onnxruntime/core/session/onnxruntime_c_api.h -include/onnxruntime/core/session/onnxruntime_cxx_api.h -include/onnxruntime/core/session/onnxruntime_cxx_inline.h -include/onnxruntime/core/session/onnxruntime_float16.h -include/onnxruntime/core/session/onnxruntime_lite_custom_op.h -include/onnxruntime/core/session/onnxruntime_run_options_config_keys.h -include/onnxruntime/core/session/onnxruntime_session_options_config_keys.h -include/onnxruntime/core/session/snippets.dox include/onnxruntime/cpu_provider_factory.h -lib/libonnxruntime_common.a -lib/libonnxruntime_flatbuffers.a -lib/libonnxruntime_framework.a -lib/libonnxruntime_graph.a -lib/libonnxruntime_lora.a -lib/libonnxruntime_mlas.a -lib/libonnxruntime_optimizer.a -lib/libonnxruntime_providers.a +include/onnxruntime/onnxruntime_c_api.h +include/onnxruntime/onnxruntime_cxx_api.h +include/onnxruntime/onnxruntime_cxx_inline.h +include/onnxruntime/onnxruntime_float16.h +include/onnxruntime/onnxruntime_lite_custom_op.h +include/onnxruntime/onnxruntime_run_options_config_keys.h +include/onnxruntime/onnxruntime_session_options_config_keys.h +include/onnxruntime/provider_options.h +lib/cmake/onnxruntime/onnxruntimeConfig.cmake +lib/cmake/onnxruntime/onnxruntimeConfigVersion.cmake +lib/cmake/onnxruntime/onnxruntimeTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/onnxruntime/onnxruntimeTargets.cmake +lib/libonnxruntime.so +lib/libonnxruntime.so.1 +lib/libonnxruntime.so.1.21.1 lib/libonnxruntime_providers_shared.so -lib/libonnxruntime_session.a -lib/libonnxruntime_util.a libdata/pkgconfig/libonnxruntime.pchome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506170550.55H5oQur003102>
