From nobody Tue Jun 17 05:50:26 2025 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bLwvR0Rfcz5psjv; Tue, 17 Jun 2025 05:50:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bLwvQ6W0pz42Fw; Tue, 17 Jun 2025 05:50:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750139426; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k0uz5PW9HxUtzKE7xGYR7FB/3xZ5T0RVHt2wSdM85Dc=; b=F5t2gUdsov6rlPJKcpCZEBQG+P7dDGoYcXQsAroFahFfhbkFL8vI28fW+OTPFiB+nO0O1p sX5DohcTf+TDRQ+PXfYWSPF+78uy8CUWceMF8eLt9m7F4UciJw1X/9D1NS44gsRalXjK8c xWOpVm7S3BB0BxliI8C0xfhIyFtlYxNzXm7mws/yjb1RlhoHcfNKE7fupOyjLiXEkSzm7Q NAVrvkQh5QGkXV0H8ZYwmiw9Fhj+PqZB+E4dTvPApjBNKLWKWiyihfvSRoAoC0tBWwzP6f O1g4mqjQw2gzZIGlMcrqljWduxsUxwhx/L/n6yqd53qy8dZv9Lc+wIvdEMN4/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750139426; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k0uz5PW9HxUtzKE7xGYR7FB/3xZ5T0RVHt2wSdM85Dc=; b=qd8gU1J+005QQXu+GvnutQPnf+SakxnwP9JloejvIovzlB0w7CQNDPRsFX9XvbbzGzvzs3 8k/Ym85zyYD9DW1pOI8HCkwRYvq/MQdZzT+bg6pcNk5Y8wJHnipQDeCnnipDzg6VMMJtA4 TXih7ErW8vG86qP02T3iw7ZdvaLPqO6YVjRU8uYqeHHLE33ZdFNo6EJQEmmU1OACyAJgRK rf7Ep+Zy+FwD3UmeuKsClKFEJ3Gbe5lhk3UwCJlGN0dtTzwYLUr1N8hGmwMx8Y3CnLxpJw rCc2jdoSgg0Y+W5g5SCUcgZHIm/TjCko1ZK5DF3/h6+G63mXcbafi8wjCpG3Qw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1750139426; a=rsa-sha256; cv=none; b=krflqcdQEQcA+C+gi2NUhobhiNPqeKABzXmxd7IrusMYWmYttD7eiMovJ6bp46PY4kUsI0 whf4fFscBVBLLnXvNKN2rGGnLezsJuQ1MWezXXhw3JOPX7blCWmH0qAePcoafiXETojecS Z4IdqQ/H0xRzuy0rJ55JQqnCsbSVsrrtD18Z7R27ub2LMgoDGg5ShhFku/5TzBFYZsMJW6 C585X9qOCcbPrRTSzPLmQN0H+0oQfkkOpQoxpAKB6a6d2WQerPX2ik3obRSnCO5ZpGKc// W6iUn0C8ehGcR8TO9y8o1Yg4MK6C5tQGFVf2ljtwWwtChFW8dSn9X97QaduIhA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bLwvQ5yznzWqt; Tue, 17 Jun 2025 05:50:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 55H5oQAm003105; Tue, 17 Jun 2025 05:50:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 55H5oQur003102; Tue, 17 Jun 2025 05:50:26 GMT (envelope-from git) Date: Tue, 17 Jun 2025 05:50:26 GMT Message-Id: <202506170550.55H5oQur003102@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: 8300a2640608 - main - misc/onnxruntime: Install a public shared library instead of private static ones List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8300a2640608e076bbf76ee09ffe180740821356 Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=8300a2640608e076bbf76ee09ffe180740821356 commit 8300a2640608e076bbf76ee09ffe180740821356 Author: Gleb Popov AuthorDate: 2025-06-01 14:16:57 +0000 Commit: Gleb Popov 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.pc