Date: Sat, 18 Apr 2026 03:07:22 +0000 From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b92858fbe722 - main - misc/onnxruntime: update 1.23.=?utf-8?Q?2 =E2=86=92 1.?=24.4 Message-ID: <69e2f56a.2318d.48f83590@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b92858fbe722c79d44aa05a7b4d75fc490215e6c commit b92858fbe722c79d44aa05a7b4d75fc490215e6c Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-04-18 02:49:51 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-04-18 02:49:51 +0000 misc/onnxruntime: update 1.23.2 → 1.24.4 --- misc/onnxruntime/Makefile | 4 +- misc/onnxruntime/Makefile.DISTFILES | 21 +++++----- misc/onnxruntime/Makefile.MASTER_SITES | 1 + misc/onnxruntime/distinfo | 48 +++++++++++----------- .../patch-onnxruntime_core_mlas_lib_platform.cpp | 12 ------ ..._core_mlas_lib_power_qgemm__kernel__power10.cpp | 19 --------- .../patch-onnxruntime_core_mlas_lib_qlmul.cpp | 20 --------- misc/onnxruntime/pkg-plist | 3 +- 8 files changed, 41 insertions(+), 87 deletions(-) diff --git a/misc/onnxruntime/Makefile b/misc/onnxruntime/Makefile index 4cb56ee922f2..36d1b2c47c04 100644 --- a/misc/onnxruntime/Makefile +++ b/misc/onnxruntime/Makefile @@ -1,6 +1,6 @@ PORTNAME= onnxruntime DISTVERSIONPREFIX= v -DISTVERSION= 1.23.2 +DISTVERSION= 1.24.4 CATEGORIES= misc # machine-learning DIST_SUBDIR= ${PORTNAME} @@ -43,7 +43,7 @@ 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 diff --git a/misc/onnxruntime/Makefile.DISTFILES b/misc/onnxruntime/Makefile.DISTFILES index 4a42e8ba7cff..4207b1b027f3 100644 --- a/misc/onnxruntime/Makefile.DISTFILES +++ b/misc/onnxruntime/Makefile.DISTFILES @@ -1,5 +1,5 @@ DISTFILES= \ - 20250512.0.zip:abseil_cpp \ + 20250814.0.zip:abseil_cpp \ 7.1.zip:coremltools \ 3c73d91c0b04e2b59462f0a741be8c07024c1bc0.zip:cxxopts \ v3.0.1.zip:date \ @@ -10,13 +10,13 @@ DISTFILES= \ 63058eff77e11aa15bf531df5dd34395ec3017c8.zip:fxdiv \ v1.8.5.zip:google_benchmark \ v1.17.0.zip:googletest \ - fe98e0b93565382648129271381c14d6205255e3.zip:googlexnnpack \ + 3cf85e705098622d59056dcb8f5f963ea7bb0a00.zip:googlexnnpack \ v3.11.3.zip:json \ v4.0.0.zip:microsoft_gsl \ - v1.0.230629.1.zip:microsoft_wil \ + v1.0.250325.1.zip:microsoft_wil \ v2.1.1.zip:mimalloc \ boost-1.82.0.zip:mp11 \ - v1.18.0.zip:onnx \ + v1.20.1.zip:onnx \ d5dce67db7c2e64b07e055571f5ec06f7f254de2.zip:onnx_tensorrt \ v21.12.zip:protobuf \ protoc-21.12-win64.zip:protoc_win64 \ @@ -26,16 +26,17 @@ DISTFILES= \ protoc-21.12-linux-aarch_64.zip:protoc_linux_aarch64 \ protoc-21.12-osx-universal_binary.zip:protoc_mac_universal \ 072586a71b55b7f8c584153d223e95687148a900.zip:psimd \ - 4e80ca24521aa0fb3a746f9ea9c3eaa20e9afbb0.zip:pthreadpool \ - v2.13.6.zip:pybind11 \ - 8a1772a0c5c447df2d18edf33ec4603a8c9c04a6.zip:pytorch_cpuinfo \ + 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 \ - v3.9.2.zip:cutlass \ + v4.2.1.zip:cutlass \ c24b7bab0c12f53da76d0c31b03b9f0f8ec8f3b4.zip:extensions \ v1.613.1.zip:directx_headers \ v1.12.0.zip:cudnn_frontend \ - 9733be39e18186961d503e064874afe3e9ceb8d1.zip:dawn \ - v1.9.0.tar.gz:kleidiai \ + 13c1635a14574ebb7116b56a69f5519301417fda.zip:dawn \ + v1.20.0.tar.gz:kleidiai \ + 2f10c9a8d32f81ffeeb6d4885a29cc35d2b0da87.zip:kleidiai_qmx \ duktape-2.7.0.tar.xz:duktape \ diff --git a/misc/onnxruntime/Makefile.MASTER_SITES b/misc/onnxruntime/Makefile.MASTER_SITES index 736c5a20a731..f9d51c43143c 100644 --- a/misc/onnxruntime/Makefile.MASTER_SITES +++ b/misc/onnxruntime/Makefile.MASTER_SITES @@ -38,4 +38,5 @@ MASTER_SITES= \ https://github.com/NVIDIA/cudnn-frontend/archive/refs/tags/:cudnn_frontend \ https://github.com/google/dawn/archive/:dawn \ https://github.com/ARM-software/kleidiai/archive/refs/tags/:kleidiai \ + https://github.com/qualcomm/kleidiai/archive/:kleidiai_qmx \ https://github.com/svaarala/duktape/releases/download/v2.7.0/:duktape \ diff --git a/misc/onnxruntime/distinfo b/misc/onnxruntime/distinfo index 5b44d2448462..d43a8e68d54e 100644 --- a/misc/onnxruntime/distinfo +++ b/misc/onnxruntime/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1762802056 -SHA256 (onnxruntime/20250512.0.zip) = 520551a68a57f58be691151d59918a7ddcd8d727f81c0bb530bca272f985e674 -SIZE (onnxruntime/20250512.0.zip) = 3174083 +TIMESTAMP = 1776478065 +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 @@ -21,20 +21,20 @@ SHA256 (onnxruntime/v1.8.5.zip) = 39f57865cdbfa06f02ae91ea76465246046cc47d5908aa SIZE (onnxruntime/v1.8.5.zip) = 327614 SHA256 (onnxruntime/v1.17.0.zip) = 40d4ec942217dcc84a9ebe2a68584ada7d4a33a8ee958755763278ea1c5e18ff SIZE (onnxruntime/v1.17.0.zip) = 1114942 -SHA256 (onnxruntime/fe98e0b93565382648129271381c14d6205255e3.zip) = 7aeeb8c6e134e0866655bbb7a0387166eba36bcd436a0c3e0f4c5286426b785f -SIZE (onnxruntime/fe98e0b93565382648129271381c14d6205255e3.zip) = 23353924 +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.230629.1.zip) = f116af6cd96b8404d5e3cd6ef18853f7baa9c7d96930e741591fea8b5a3ef919 -SIZE (onnxruntime/v1.0.230629.1.zip) = 600066 +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.18.0.zip) = 23b6f113b05ac7aa7fac0128df69aca2eabd8c8f92d2ebe39fa741a47addec6f -SIZE (onnxruntime/v1.18.0.zip) = 17108643 +SHA256 (onnxruntime/v1.20.1.zip) = a003e1f628406382c61900db668aa86c27afa8570dde7b9aced159579a443ab7 +SIZE (onnxruntime/v1.20.1.zip) = 18011094 SHA256 (onnxruntime/d5dce67db7c2e64b07e055571f5ec06f7f254de2.zip) = 5b5c8ea250104d7f21c2f6ebf3c7f69cbcd9201960a69ad1b9019789d306f437 SIZE (onnxruntime/d5dce67db7c2e64b07e055571f5ec06f7f254de2.zip) = 245171 SHA256 (onnxruntime/v21.12.zip) = 6a31b662deaeb0ac35e6287bda2f3369b19836e6c9f8828d4da444346f420298 @@ -53,34 +53,36 @@ SHA256 (onnxruntime/protoc-21.12-osx-universal_binary.zip) = 1acab3d1f774d120d5a SIZE (onnxruntime/protoc-21.12-osx-universal_binary.zip) = 2822292 SHA256 (onnxruntime/072586a71b55b7f8c584153d223e95687148a900.zip) = dc615342bcbe51ca885323e51b68b90ed9bb9fa7df0f4419dbfa0297d5e837b7 SIZE (onnxruntime/072586a71b55b7f8c584153d223e95687148a900.zip) = 8327 -SHA256 (onnxruntime/4e80ca24521aa0fb3a746f9ea9c3eaa20e9afbb0.zip) = 6d373fa7e2b899605fc3b6e72171a71bccbaf9d4d596b7f514535c4ffb966b3b -SIZE (onnxruntime/4e80ca24521aa0fb3a746f9ea9c3eaa20e9afbb0.zip) = 92003 -SHA256 (onnxruntime/v2.13.6.zip) = d0a116e91f64a4a2d8fb7590c34242df92258a61ec644b79127951e821b47be6 -SIZE (onnxruntime/v2.13.6.zip) = 919719 -SHA256 (onnxruntime/8a1772a0c5c447df2d18edf33ec4603a8c9c04a6.zip) = 4bf314b3f04db2fd984fef38a7e278e702b74297ef0af592b73296edba02b9d4 -SIZE (onnxruntime/8a1772a0c5c447df2d18edf33ec4603a8c9c04a6.zip) = 3850914 +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/v3.9.2.zip) = 695226550053f9dbde9a2c14d28dd6724706e0aa807188c891989f882f6a48dc -SIZE (onnxruntime/v3.9.2.zip) = 39742907 +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/9733be39e18186961d503e064874afe3e9ceb8d1.zip) = f351607ca9aa0381e8ee099516a2eed4fec96a0df91e5e8e56223b548ad115b9 -SIZE (onnxruntime/9733be39e18186961d503e064874afe3e9ceb8d1.zip) = 77460925 -SHA256 (onnxruntime/v1.9.0.tar.gz) = 3c025a3049efc18c3214656fc5ee5e4ddb63408193cb6bf4ec9548795ac3d153 -SIZE (onnxruntime/v1.9.0.tar.gz) = 2064852 +SHA256 (onnxruntime/13c1635a14574ebb7116b56a69f5519301417fda.zip) = ca8075fcfda429efde74c3bcc158963e5bd17f40e3065115393b3699aa99b6df +SIZE (onnxruntime/13c1635a14574ebb7116b56a69f5519301417fda.zip) = 85447813 +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.23.2_GH0.tar.gz) = 99bcf964ce4e869d823c99b2294562a9050cbfa8e76ec81c8683cb3c7e19c2b4 -SIZE (onnxruntime/microsoft-onnxruntime-v1.23.2_GH0.tar.gz) = 283165408 +SHA256 (onnxruntime/microsoft-onnxruntime-v1.24.4_GH0.tar.gz) = 0cf4d2ee4392fbb8aedaabc6b2ba11b4a680d1071fa4f75546c2289ca5b404cf +SIZE (onnxruntime/microsoft-onnxruntime-v1.24.4_GH0.tar.gz) = 283642312 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 diff --git a/misc/onnxruntime/files/patch-onnxruntime_core_mlas_lib_platform.cpp b/misc/onnxruntime/files/patch-onnxruntime_core_mlas_lib_platform.cpp deleted file mode 100644 index 7aa857e38594..000000000000 --- a/misc/onnxruntime/files/patch-onnxruntime_core_mlas_lib_platform.cpp +++ /dev/null @@ -1,12 +0,0 @@ ---- onnxruntime/core/mlas/lib/platform.cpp.orig 2026-01-02 14:17:14 UTC -+++ onnxruntime/core/mlas/lib/platform.cpp -@@ -32,6 +32,9 @@ --*/ - #define POWER_10_ANDUP (POWER_10) - #include <sys/systemcfg.h> - #define __power_10_andup() (_system_configuration.implementation & POWER_10_ANDUP) -+#elif defined(__FreeBSD__) -+#include <machine/cpu.h> -+#include <sys/auxv.h> - #endif - #endif - diff --git a/misc/onnxruntime/files/patch-onnxruntime_core_mlas_lib_power_qgemm__kernel__power10.cpp b/misc/onnxruntime/files/patch-onnxruntime_core_mlas_lib_power_qgemm__kernel__power10.cpp deleted file mode 100644 index 76caadec4836..000000000000 --- a/misc/onnxruntime/files/patch-onnxruntime_core_mlas_lib_power_qgemm__kernel__power10.cpp +++ /dev/null @@ -1,19 +0,0 @@ ---- onnxruntime/core/mlas/lib/power/qgemm_kernel_power10.cpp.orig 2026-01-02 14:17:54 UTC -+++ onnxruntime/core/mlas/lib/power/qgemm_kernel_power10.cpp -@@ -874,14 +874,14 @@ MlasQgemmStoreVectorMMA - { - size_t RowCount; - __vector signed int vsum0, vsum1, vsum2, vsum3; --#if defined(_AIX) && defined(__clang__) -+#if (defined(_AIX) || defined(__FreeBSD__)) && defined(__clang__) - __vector signed int columnsum = *reinterpret_cast<const __vector int *>(&ColumnSumBuffer[pos]); - #else - __vector signed int columnsum = *reinterpret_cast<const __vector int32_t *>(&ColumnSumBuffer[pos]); - #endif - C += VectorCount; - if (ZeroPointB != nullptr) { --#if defined(_AIX) && defined(__clang__) -+#if (defined(_AIX) || defined(__FreeBSD__)) && defined(__clang__) - __vector signed int zeropoint = *reinterpret_cast<const __vector int *>(&ZeroPointB[pos]); - #else - __vector signed int zeropoint = *reinterpret_cast<const __vector int32_t *>(&ZeroPointB[pos]); diff --git a/misc/onnxruntime/files/patch-onnxruntime_core_mlas_lib_qlmul.cpp b/misc/onnxruntime/files/patch-onnxruntime_core_mlas_lib_qlmul.cpp deleted file mode 100644 index 16521c584b6c..000000000000 --- a/misc/onnxruntime/files/patch-onnxruntime_core_mlas_lib_qlmul.cpp +++ /dev/null @@ -1,20 +0,0 @@ ---- onnxruntime/core/mlas/lib/qlmul.cpp.orig 2026-01-02 14:18:24 UTC -+++ onnxruntime/core/mlas/lib/qlmul.cpp -@@ -325,7 +325,7 @@ MlasQLinearMulKernel( - } - - while (N >= 4) { --#if defined(_AIX) && defined(__clang__) -+#if (defined(_AIX) || defined(__FreeBSD__)) && defined(__clang__) - __vector int IntegerAVector {InputA[0], InputA[1], InputA[2], InputA[3]}; - #else - __vector int32_t IntegerAVector {InputA[0], InputA[1], InputA[2], InputA[3]}; -@@ -334,7 +334,7 @@ MlasQLinearMulKernel( - auto ValueAVector = vec_mul(ScaleAVector, vec_ctf(IntegerVector, 0)); - - if (!IsScalarB) { --#if defined(_AIX) && defined(__clang__) -+#if (defined(_AIX) || defined(__FreeBSD__)) && defined(__clang__) - __vector int IntegerBVector {InputB[0], InputB[1], InputB[2], InputB[3]}; - #else - __vector int32_t IntegerBVector {InputB[0], InputB[1], InputB[2], InputB[3]}; diff --git a/misc/onnxruntime/pkg-plist b/misc/onnxruntime/pkg-plist index 2ffc9eb1226e..50be4c3791ab 100644 --- a/misc/onnxruntime/pkg-plist +++ b/misc/onnxruntime/pkg-plist @@ -4,6 +4,7 @@ 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 @@ -17,6 +18,6 @@ lib/cmake/onnxruntime/onnxruntimeTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/onnxruntime/onnxruntimeTargets.cmake lib/libonnxruntime.so lib/libonnxruntime.so.1 -lib/libonnxruntime.so.1.23.2 +lib/libonnxruntime.so.1.24.4 lib/libonnxruntime_providers_shared.so libdata/pkgconfig/libonnxruntime.pchome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e2f56a.2318d.48f83590>
