diff --git a/misc/onnxruntime/Makefile b/misc/onnxruntime/Makefile index 36d1b2c47c04..3b2cf34aa13d 100644 --- a/misc/onnxruntime/Makefile +++ b/misc/onnxruntime/Makefile @@ -1,67 +1,67 @@ PORTNAME= onnxruntime DISTVERSIONPREFIX= v -DISTVERSION= 1.24.4 +DISTVERSION= 1.25.1 CATEGORIES= misc # machine-learning DIST_SUBDIR= ${PORTNAME} MAINTAINER= yuri@FreeBSD.org COMMENT= Cross-platform, high performance ML inferencing & training accelerator WWW= https://onnxruntime.ai/ \ https://github.com/microsoft/onnxruntime LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= compilation fails: error: requested alignment is less than minimum alignment of 8 for type 'google::protobuf::internal::ThreadSafeArena::CacheAlignedLifecycleIdGenerator' BUILD_DEPENDS= gpatch:devel/patch USES= cmake:testing compiler:c++11-lang python:build USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= microsoft GH_TUPLE= emscripten-core:emsdk:0742117:emsdk/cmake/external/emsdk \ google:libprotobuf-mutator:7a2ed51a6b682a83e345ff49fc4cfd7ca47550db:libprotobuf_mutator/cmake/external/libprotobuf-mutator \ 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 CMAKE_TESTING_ON= onnxruntime_BUILD_UNIT_TESTS CXXFLAGS+= -Wno-array-bounds # workaround for https://github.com/microsoft/onnxruntime/issues/23410 CXXFLAGS+= -Wno-deprecated-declarations #fixes error: 'vec_lvsl' is deprecated: use assignment for unaligned little endian loads/stores #CXXFLAGS+= -Wno-deprecated-altivec-src-compat #fixes error: current handling of vector bool and vector pixel types in this context are deprecated; the default behaviour will soon change to that implied by the '-altivec-compat=xl' option CXXFLAGS+= -I${WRKSRC}/include/onnxruntime/core/common/logging # otherwise logging.h isn't found CXXFLAGS+= -frtti # fixes error: onnxruntime/test/contrib_ops/gather_block_quantized_op_test.cc:85:77: error: use of typeid requires -frtti CXXFLAGS_powerpc64= -mvsx BINARY_ALIAS= patch=gpatch DEPS_FILE= ${WRKSRC}/cmake/deps.txt -#CONFLICTS_BUILD= abseil benchmark nsync googletest dlpack flatbuffers gsl mimalloc \ +CONFLICTS_BUILD= abseil benchmark nsync googletest dlpack flatbuffers gsl mimalloc \ nlohmann-json onnx protobuf psimd pthreadpool pybind11 re2 dev-update-deps-in-makefiles: extract # this should be run when the port is updated @${FILESDIR}/convert-deps.sh ${DEPS_FILE} pre-configure: @${REINPLACE_CMD} -E 's|;(https://.*)/([^/]+\.zip);|;file://${DISTDIR}/${DIST_SUBDIR}/\2;|' ${DEPS_FILE} # NOTE there should be an EXTRACT_ONLY statement # NOTE shared libs can't be enabled because the build would fail, see discussion in this issue: https://github.com/microsoft/onnxruntime/issues/22331 # tests as of 1.21.1 (cd work/.build && ./onnxruntime_test_all): # [==========] 4743 tests from 310 test suites ran. (321548 ms total) # [ PASSED ] 4732 tests. # [ FAILED ] 1 test, listed below: # [ FAILED ] OptimizerInitializerTest.LoadExternalData # see https://github.com/microsoft/onnxruntime/issues/23816 .include .include .include diff --git a/misc/onnxruntime/Makefile.DISTFILES b/misc/onnxruntime/Makefile.DISTFILES index 4207b1b027f3..8fa473abd61f 100644 --- a/misc/onnxruntime/Makefile.DISTFILES +++ b/misc/onnxruntime/Makefile.DISTFILES @@ -1,42 +1,42 @@ DISTFILES= \ 20250814.0.zip:abseil_cpp \ 7.1.zip:coremltools \ 3c73d91c0b04e2b59462f0a741be8c07024c1bc0.zip:cxxopts \ v3.0.1.zip:date \ 5c210da409e7f1e51ddf445134a4376fdbd70d7d.zip:dlpack \ eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip:eigen \ v23.5.26.zip:flatbuffers \ 0a92994d729ff76a58f692d3028ca1b64b145d91.zip:fp16 \ 63058eff77e11aa15bf531df5dd34395ec3017c8.zip:fxdiv \ v1.8.5.zip:google_benchmark \ v1.17.0.zip:googletest \ 3cf85e705098622d59056dcb8f5f963ea7bb0a00.zip:googlexnnpack \ v3.11.3.zip:json \ v4.0.0.zip:microsoft_gsl \ v1.0.250325.1.zip:microsoft_wil \ v2.1.1.zip:mimalloc \ boost-1.82.0.zip:mp11 \ - v1.20.1.zip:onnx \ + v1.21.0.zip:onnx \ d5dce67db7c2e64b07e055571f5ec06f7f254de2.zip:onnx_tensorrt \ v21.12.zip:protobuf \ protoc-21.12-win64.zip:protoc_win64 \ protoc-21.12-win32.zip:protoc_win32 \ protoc-21.12-linux-x86_64.zip:protoc_linux_x64 \ protoc-21.12-linux-x86_32.zip:protoc_linux_x86 \ protoc-21.12-linux-aarch_64.zip:protoc_linux_aarch64 \ protoc-21.12-osx-universal_binary.zip:protoc_mac_universal \ 072586a71b55b7f8c584153d223e95687148a900.zip:psimd \ dcc9f28589066af0dbd4555579281230abbf74dd.zip:pthreadpool \ v3.0.2.zip:pybind11 \ 403d652dca4c1046e8145950b1c0997a9f748b57.zip:pytorch_cpuinfo \ 2024-07-02.zip:re2 \ 3.0.28.zip:safeint \ 373eb09e4c5d2b3cc2493f0949dc4be6b6a45e81.zip:tensorboard \ v4.2.1.zip:cutlass \ c24b7bab0c12f53da76d0c31b03b9f0f8ec8f3b4.zip:extensions \ v1.613.1.zip:directx_headers \ v1.12.0.zip:cudnn_frontend \ - 13c1635a14574ebb7116b56a69f5519301417fda.zip:dawn \ + ec7b457e5bb1fcec6f59733c4f3dd84d2f885a38.zip:dawn \ v1.20.0.tar.gz:kleidiai \ 2f10c9a8d32f81ffeeb6d4885a29cc35d2b0da87.zip:kleidiai_qmx \ duktape-2.7.0.tar.xz:duktape \ diff --git a/misc/onnxruntime/distinfo b/misc/onnxruntime/distinfo index d43a8e68d54e..a8613f37b6a8 100644 --- a/misc/onnxruntime/distinfo +++ b/misc/onnxruntime/distinfo @@ -1,91 +1,91 @@ -TIMESTAMP = 1776478065 +TIMESTAMP = 1777394784 SHA256 (onnxruntime/20250814.0.zip) = b2bdcf6682d8cb53df365bcc5d6c318a22e55821d9978a10fdb61404c026daff SIZE (onnxruntime/20250814.0.zip) = 3194036 SHA256 (onnxruntime/7.1.zip) = a9a95d3b3d1cbf9b9e00c145bcae4050f89042dc5b777635421dcdaf85010890 SIZE (onnxruntime/7.1.zip) = 20043908 SHA256 (onnxruntime/3c73d91c0b04e2b59462f0a741be8c07024c1bc0.zip) = 57b5f012372d4c0e0a975b2e534e9af647cd20530fc72f73a75a61e05e0f997e SIZE (onnxruntime/3c73d91c0b04e2b59462f0a741be8c07024c1bc0.zip) = 98330 SHA256 (onnxruntime/v3.0.1.zip) = f4300b96f7a304d4ef9bf6e0fa3ded72159f7f2d0f605bdde3e030a0dba7cf9f SIZE (onnxruntime/v3.0.1.zip) = 941286 SHA256 (onnxruntime/5c210da409e7f1e51ddf445134a4376fdbd70d7d.zip) = 14e8b3f03ab7461f56b3fa7ffd4acfb6e6a65f895dc4b50548cab259229afcbd SIZE (onnxruntime/5c210da409e7f1e51ddf445134a4376fdbd70d7d.zip) = 228363 SHA256 (onnxruntime/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip) = 6a60d76351f97132669daeeb721d6bf14b008101883ad2d687a3201c5c461eb0 SIZE (onnxruntime/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip) = 4075744 SHA256 (onnxruntime/v23.5.26.zip) = 57bd580c0772fd1a726c34ab8bf05325293bc5f9c165060a898afa1feeeb95e1 SIZE (onnxruntime/v23.5.26.zip) = 3209602 SHA256 (onnxruntime/0a92994d729ff76a58f692d3028ca1b64b145d91.zip) = e66e65515fa09927b348d3d584c68be4215cfe664100d01c9dbc7655a5716d70 SIZE (onnxruntime/0a92994d729ff76a58f692d3028ca1b64b145d91.zip) = 91373 SHA256 (onnxruntime/63058eff77e11aa15bf531df5dd34395ec3017c8.zip) = 3d7b0e9c4c658a84376a1086126be02f9b7f753caa95e009d9ac38d11da444db SIZE (onnxruntime/63058eff77e11aa15bf531df5dd34395ec3017c8.zip) = 16646 SHA256 (onnxruntime/v1.8.5.zip) = 39f57865cdbfa06f02ae91ea76465246046cc47d5908aa5a3abeb9026fb73dcc SIZE (onnxruntime/v1.8.5.zip) = 327614 SHA256 (onnxruntime/v1.17.0.zip) = 40d4ec942217dcc84a9ebe2a68584ada7d4a33a8ee958755763278ea1c5e18ff SIZE (onnxruntime/v1.17.0.zip) = 1114942 SHA256 (onnxruntime/3cf85e705098622d59056dcb8f5f963ea7bb0a00.zip) = e4af7bc17f1e0bce0e83098af24c3c3c2ade70351c2e29318aff1404a8974544 SIZE (onnxruntime/3cf85e705098622d59056dcb8f5f963ea7bb0a00.zip) = 22580852 SHA256 (onnxruntime/v3.11.3.zip) = 04022b05d806eb5ff73023c280b68697d12b93e1b7267a0b22a1a39ec7578069 SIZE (onnxruntime/v3.11.3.zip) = 8489998 SHA256 (onnxruntime/v4.0.0.zip) = eb91fcb10a6aa5ccb1d224e07a56c8ecffe9a1bb601fa1848276ec46a2200bfb SIZE (onnxruntime/v4.0.0.zip) = 78670 SHA256 (onnxruntime/v1.0.250325.1.zip) = 48f7fdc3c7d0b284efae783c1266836b61b63fd0c94749098a60dc8ec78b0725 SIZE (onnxruntime/v1.0.250325.1.zip) = 577341 SHA256 (onnxruntime/v2.1.1.zip) = 23b1bffb2eff57b1e3cb8edc9410d448db2bb43400206a151e107dcabcad773a SIZE (onnxruntime/v2.1.1.zip) = 1301043 SHA256 (onnxruntime/boost-1.82.0.zip) = 81431bdc44c439a324e02c07ed067f8f556419fd86f2d8b486ff568df6aac899 SIZE (onnxruntime/boost-1.82.0.zip) = 232716 -SHA256 (onnxruntime/v1.20.1.zip) = a003e1f628406382c61900db668aa86c27afa8570dde7b9aced159579a443ab7 -SIZE (onnxruntime/v1.20.1.zip) = 18011094 +SHA256 (onnxruntime/v1.21.0.zip) = b8b56570d94ecce49fee94e6380db456bb42035722b967015c9dd6459359433e +SIZE (onnxruntime/v1.21.0.zip) = 18072652 SHA256 (onnxruntime/d5dce67db7c2e64b07e055571f5ec06f7f254de2.zip) = 5b5c8ea250104d7f21c2f6ebf3c7f69cbcd9201960a69ad1b9019789d306f437 SIZE (onnxruntime/d5dce67db7c2e64b07e055571f5ec06f7f254de2.zip) = 245171 SHA256 (onnxruntime/v21.12.zip) = 6a31b662deaeb0ac35e6287bda2f3369b19836e6c9f8828d4da444346f420298 SIZE (onnxruntime/v21.12.zip) = 7180794 SHA256 (onnxruntime/protoc-21.12-win64.zip) = 71852a30cf62975358edfcbbff93086e8857a079c8e4d6904881aa968d65c7f9 SIZE (onnxruntime/protoc-21.12-win64.zip) = 2278456 SHA256 (onnxruntime/protoc-21.12-win32.zip) = 6de4ef4e65c7edb834a2a9fca6d85388adc5dd71fc8bff8b60569717d01dabea SIZE (onnxruntime/protoc-21.12-win32.zip) = 2306903 SHA256 (onnxruntime/protoc-21.12-linux-x86_64.zip) = 3a4c1e5f2516c639d3079b1586e703fc7bcfa2136d58bda24d1d54f949c315e8 SIZE (onnxruntime/protoc-21.12-linux-x86_64.zip) = 1585982 SHA256 (onnxruntime/protoc-21.12-linux-x86_32.zip) = dd4b5972cb3de92bfff9d7d3b361a7c281d27a010c8872d1e6efc43895253f71 SIZE (onnxruntime/protoc-21.12-linux-x86_32.zip) = 1692297 SHA256 (onnxruntime/protoc-21.12-linux-aarch_64.zip) = 2dd17f75d66a682640b136e31848da9fb2eefe68d55303baf8b32617374f6711 SIZE (onnxruntime/protoc-21.12-linux-aarch_64.zip) = 1582596 SHA256 (onnxruntime/protoc-21.12-osx-universal_binary.zip) = 1acab3d1f774d120d5a38bccb78fd379d35226b254dc258978bc45593478ca4c SIZE (onnxruntime/protoc-21.12-osx-universal_binary.zip) = 2822292 SHA256 (onnxruntime/072586a71b55b7f8c584153d223e95687148a900.zip) = dc615342bcbe51ca885323e51b68b90ed9bb9fa7df0f4419dbfa0297d5e837b7 SIZE (onnxruntime/072586a71b55b7f8c584153d223e95687148a900.zip) = 8327 SHA256 (onnxruntime/dcc9f28589066af0dbd4555579281230abbf74dd.zip) = b193fcb18abf0d5bdb989968ccd8e274ae0ce8d89b0f1a61763582fb716b259c SIZE (onnxruntime/dcc9f28589066af0dbd4555579281230abbf74dd.zip) = 104991 SHA256 (onnxruntime/v3.0.2.zip) = e3754d16ea536bdc968ce1464fa822e198a1217881d31bd9bf3d287fed2bbf4c SIZE (onnxruntime/v3.0.2.zip) = 1112516 SHA256 (onnxruntime/403d652dca4c1046e8145950b1c0997a9f748b57.zip) = 357d9824b8d3f4c05f0b2287e45b4e0d982422c27b67b968eb23a643dc52b5e2 SIZE (onnxruntime/403d652dca4c1046e8145950b1c0997a9f748b57.zip) = 3853314 SHA256 (onnxruntime/2024-07-02.zip) = a835fe55fbdcd8e80f38584ab22d0840662c67f2feb36bd679402da9641dc71e SIZE (onnxruntime/2024-07-02.zip) = 451539 SHA256 (onnxruntime/3.0.28.zip) = 3ffbd9a2fdff45da77da3e7269e9aa512ea43bed5c38ce8fd8f3d1068a032c3f SIZE (onnxruntime/3.0.28.zip) = 626378 SHA256 (onnxruntime/373eb09e4c5d2b3cc2493f0949dc4be6b6a45e81.zip) = c7c77b30e7056dc77c067ec70fce24e80a927522b973ebefac33888ba18b5a7d SIZE (onnxruntime/373eb09e4c5d2b3cc2493f0949dc4be6b6a45e81.zip) = 76560689 SHA256 (onnxruntime/v4.2.1.zip) = 7d3efb67f57ff7ffb7544f227c126f575c272e6d7bcc077a6197507e720b1079 SIZE (onnxruntime/v4.2.1.zip) = 41943087 SHA256 (onnxruntime/c24b7bab0c12f53da76d0c31b03b9f0f8ec8f3b4.zip) = d0af92533f33344ef7291d18b2cb3300d512650e710f2eaff540519a6a6a2d65 SIZE (onnxruntime/c24b7bab0c12f53da76d0c31b03b9f0f8ec8f3b4.zip) = 83551041 SHA256 (onnxruntime/v1.613.1.zip) = c356d242e63f6c8e6fa8dec01f7d526b172621f0f6687611239f772095842e4c SIZE (onnxruntime/v1.613.1.zip) = 472978 SHA256 (onnxruntime/v1.12.0.zip) = c64ccc6493019220e7c42deb15a7c73f12f3d276d7dc6f882af06adf51a8a7e7 SIZE (onnxruntime/v1.12.0.zip) = 904346 -SHA256 (onnxruntime/13c1635a14574ebb7116b56a69f5519301417fda.zip) = ca8075fcfda429efde74c3bcc158963e5bd17f40e3065115393b3699aa99b6df -SIZE (onnxruntime/13c1635a14574ebb7116b56a69f5519301417fda.zip) = 85447813 +SHA256 (onnxruntime/ec7b457e5bb1fcec6f59733c4f3dd84d2f885a38.zip) = 4046fc60d9956fd9621ae6ce9148fb81a36b9b54e69952e735c4315909dc56dd +SIZE (onnxruntime/ec7b457e5bb1fcec6f59733c4f3dd84d2f885a38.zip) = 94578448 SHA256 (onnxruntime/v1.20.0.tar.gz) = e4b84c369f0f39af1660ac71c30f74038d4b89e1f20dde070bb96398382a111f SIZE (onnxruntime/v1.20.0.tar.gz) = 2372189 SHA256 (onnxruntime/2f10c9a8d32f81ffeeb6d4885a29cc35d2b0da87.zip) = ee43dee0fac9a641f87285fa357c5db3849aa7a4955e86f6818390313e610e5e SIZE (onnxruntime/2f10c9a8d32f81ffeeb6d4885a29cc35d2b0da87.zip) = 2994473 SHA256 (onnxruntime/duktape-2.7.0.tar.xz) = 90f8d2fa8b5567c6899830ddef2c03f3c27960b11aca222fa17aa7ac613c2890 SIZE (onnxruntime/duktape-2.7.0.tar.xz) = 1026524 -SHA256 (onnxruntime/microsoft-onnxruntime-v1.24.4_GH0.tar.gz) = 0cf4d2ee4392fbb8aedaabc6b2ba11b4a680d1071fa4f75546c2289ca5b404cf -SIZE (onnxruntime/microsoft-onnxruntime-v1.24.4_GH0.tar.gz) = 283642312 +SHA256 (onnxruntime/microsoft-onnxruntime-v1.25.1_GH0.tar.gz) = b0c49a093976bf84f099a19aa13a46bd1d213e1d13b34ffe3b0916657209a844 +SIZE (onnxruntime/microsoft-onnxruntime-v1.25.1_GH0.tar.gz) = 284862475 SHA256 (onnxruntime/emscripten-core-emsdk-0742117_GH0.tar.gz) = ebd5a51e31742e6ae1d11271bd5d84c2083623b746b98ef5b32adf6e223d48b8 SIZE (onnxruntime/emscripten-core-emsdk-0742117_GH0.tar.gz) = 114343 SHA256 (onnxruntime/google-libprotobuf-mutator-7a2ed51a6b682a83e345ff49fc4cfd7ca47550db_GH0.tar.gz) = d51365191580c4bf5e9ff104eebcfe34f7ff5f471006d7a460c15dcb3657501c SIZE (onnxruntime/google-libprotobuf-mutator-7a2ed51a6b682a83e345ff49fc4cfd7ca47550db_GH0.tar.gz) = 38336 SHA256 (onnxruntime/onnx-onnx-b8baa8446686496da4cc8fda09f2b6fe65c2a02c_GH0.tar.gz) = b741da9ecd0021df2d5bcd5ee73c5b9d88f8d870df7b489fa4b15ef6951e9a13 SIZE (onnxruntime/onnx-onnx-b8baa8446686496da4cc8fda09f2b6fe65c2a02c_GH0.tar.gz) = 12464148 diff --git a/misc/onnxruntime/pkg-plist b/misc/onnxruntime/pkg-plist index 50be4c3791ab..2926a5d00826 100644 --- a/misc/onnxruntime/pkg-plist +++ b/misc/onnxruntime/pkg-plist @@ -1,23 +1,23 @@ include/onnxruntime/core/providers/custom_op_context.h include/onnxruntime/core/providers/resource.h include/onnxruntime/cpu_provider_factory.h include/onnxruntime/onnxruntime_c_api.h include/onnxruntime/onnxruntime_cxx_api.h include/onnxruntime/onnxruntime_cxx_inline.h include/onnxruntime/onnxruntime_env_config_keys.h include/onnxruntime/onnxruntime_ep_c_api.h include/onnxruntime/onnxruntime_ep_device_ep_metadata_keys.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.24.4 +lib/libonnxruntime.so.1.25.1 lib/libonnxruntime_providers_shared.so libdata/pkgconfig/libonnxruntime.pc