misc/onnxruntime: update 1.20.2 → 1.21.0

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2025-03-09 13:57:19 -07:00
parent 28ad5783d3
commit 53c3b01f4b
7 changed files with 45 additions and 58 deletions

View file

@ -1,7 +1,6 @@
PORTNAME= onnxruntime
DISTVERSIONPREFIX= v
DISTVERSION= 1.20.2
PORTREVISION= 1
DISTVERSION= 1.21.0
CATEGORIES= misc # machine-learning
DIST_SUBDIR= ${PORTNAME}

View file

@ -4,21 +4,20 @@ DISTFILES= \
3c73d91c0b04e2b59462f0a741be8c07024c1bc0.zip:cxxopts \
v3.0.1.zip:date \
v0.6.zip:dlpack \
eigen-e7248b26a1ed53fa030c5c459f7ea095dfd276ac.zip:eigen \
eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip:eigen \
v23.5.26.zip:flatbuffers \
0a92994d729ff76a58f692d3028ca1b64b145d91.zip:fp16 \
63058eff77e11aa15bf531df5dd34395ec3017c8.zip:fxdiv \
v1.8.5.zip:google_benchmark \
1.26.0.zip:google_nsync \
v1.15.0.zip:googletest \
309b75c9e56e0a674bf78d59872ce131f814dfb6.zip:googlexnnpack \
v3.10.5.zip:json \
fe98e0b93565382648129271381c14d6205255e3.zip:googlexnnpack \
v3.11.3.zip:json \
v4.0.0.zip:microsoft_gsl \
v1.0.230629.1.zip:microsoft_wil \
v2.1.1.zip:mimalloc \
boost-1.82.0.zip:mp11 \
v1.16.1.zip:onnx \
9f98e2ebe7507fe0774d06a44bbf4b0e82cc9ce7.zip:onnx_tensorrt \
v1.17.0.zip:onnx \
c5ca8912f30e9ad630a0ef565e3d5f4bd5e91563.zip:onnx_tensorrt \
v21.12.zip:protobuf \
protoc-21.12-win64.zip:protoc_win64 \
protoc-21.12-win32.zip:protoc_win32 \
@ -27,17 +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 \
4fe0e1e183925bf8cfa6aae24237e724a96479b8.zip:pthreadpool \
v2.13.1.zip:pybind11 \
ca678952a9a8eaa6de112d154e8e104b22f9ab3f.zip:pytorch_cpuinfo \
4e80ca24521aa0fb3a746f9ea9c3eaa20e9afbb0.zip:pthreadpool \
v2.13.6.zip:pybind11 \
8a1772a0c5c447df2d18edf33ec4603a8c9c04a6.zip:pytorch_cpuinfo \
2024-07-02.zip:re2 \
3.0.28.zip:safeint \
373eb09e4c5d2b3cc2493f0949dc4be6b6a45e81.zip:tensorboard \
v3.5.1.zip:cutlass \
72c943dea2b9240cd09efde15191e144bc7c7d38.zip:utf8_range \
94142d8391c9791ec71c38336436319a2d4ac7a0.zip:extensions \
c24b7bab0c12f53da76d0c31b03b9f0f8ec8f3b4.zip:extensions \
204da9c522cebec5220bba52cd3542ebcaf99e7a.zip:composable_kernel \
v1.613.1.zip:directx_headers \
v1.7.0.zip:cudnn_frontend \
511eb80847afe6bded34ec491a38d5d78ba2d604.zip:dawn \
kleidiai-v0.2.0.zip:kleidiai \
40a9fa79f76e6c76cca9e2fa69ea07f202f1d2e6.zip:dawn \
kleidiai-d15722976120710080ca098fe8ddabf4556cb40f.zip:kleidiai \

View file

@ -4,12 +4,11 @@ MASTER_SITES= \
https://github.com/jarro2783/cxxopts/archive/:cxxopts \
https://github.com/HowardHinnant/date/archive/refs/tags/:date \
https://github.com/dmlc/dlpack/archive/refs/tags/:dlpack \
https://gitlab.com/libeigen/eigen/-/archive/e7248b26a1ed53fa030c5c459f7ea095dfd276ac/:eigen \
https://gitlab.com/libeigen/eigen/-/archive/1d8b82b0740839c0de7f1242a3585e3390ff5f33/:eigen \
https://github.com/google/flatbuffers/archive/refs/tags/:flatbuffers \
https://github.com/Maratyszcza/FP16/archive/:fp16 \
https://github.com/Maratyszcza/FXdiv/archive/:fxdiv \
https://github.com/google/benchmark/archive/refs/tags/:google_benchmark \
https://github.com/google/nsync/archive/refs/tags/:google_nsync \
https://github.com/google/googletest/archive/refs/tags/:googletest \
https://github.com/google/XNNPACK/archive/:googlexnnpack \
https://github.com/nlohmann/json/archive/refs/tags/:json \
@ -27,7 +26,7 @@ MASTER_SITES= \
https://github.com/protocolbuffers/protobuf/releases/download/v21.12/:protoc_linux_aarch64 \
https://github.com/protocolbuffers/protobuf/releases/download/v21.12/:protoc_mac_universal \
https://github.com/Maratyszcza/psimd/archive/:psimd \
https://github.com/Maratyszcza/pthreadpool/archive/:pthreadpool \
https://github.com/google/pthreadpool/archive/:pthreadpool \
https://github.com/pybind/pybind11/archive/refs/tags/:pybind11 \
https://github.com/pytorch/cpuinfo/archive/:pytorch_cpuinfo \
https://github.com/google/re2/archive/refs/tags/:re2 \
@ -40,4 +39,4 @@ MASTER_SITES= \
https://github.com/microsoft/DirectX-Headers/archive/refs/tags/:directx_headers \
https://github.com/NVIDIA/cudnn-frontend/archive/refs/tags/:cudnn_frontend \
https://github.com/google/dawn/archive/:dawn \
https://gitlab.arm.com/kleidi/kleidiai/-/archive/v0.2.0/:kleidiai \
https://gitlab.arm.com/kleidi/kleidiai/-/archive/d15722976120710080ca098fe8ddabf4556cb40f/:kleidiai \

View file

@ -1,4 +1,4 @@
TIMESTAMP = 1740523083
TIMESTAMP = 1741504592
SHA256 (onnxruntime/20240722.0.zip) = 95e90be7c3643e658670e0dd3c1b27092349c34b632c6e795686355f67eca89f
SIZE (onnxruntime/20240722.0.zip) = 3198385
SHA256 (onnxruntime/7.1.zip) = a9a95d3b3d1cbf9b9e00c145bcae4050f89042dc5b777635421dcdaf85010890
@ -9,8 +9,8 @@ SHA256 (onnxruntime/v3.0.1.zip) = f4300b96f7a304d4ef9bf6e0fa3ded72159f7f2d0f605b
SIZE (onnxruntime/v3.0.1.zip) = 941286
SHA256 (onnxruntime/v0.6.zip) = cb296b25f1ad5d52aa0efd7553e1aab17ab4561d1068b291fbe14d543d22f381
SIZE (onnxruntime/v0.6.zip) = 44987
SHA256 (onnxruntime/eigen-e7248b26a1ed53fa030c5c459f7ea095dfd276ac.zip) = f09e0073a0e0d34229103e875e2c79b2a350abb382f5bda7f615554532f56687
SIZE (onnxruntime/eigen-e7248b26a1ed53fa030c5c459f7ea095dfd276ac.zip) = 3836219
SHA256 (onnxruntime/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip) = dba29edf4d330b53a8a48861dd14ee5781836d77aa8b23efc5ca45995ced20df
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
@ -19,14 +19,12 @@ SHA256 (onnxruntime/63058eff77e11aa15bf531df5dd34395ec3017c8.zip) = 3d7b0e9c4c65
SIZE (onnxruntime/63058eff77e11aa15bf531df5dd34395ec3017c8.zip) = 16646
SHA256 (onnxruntime/v1.8.5.zip) = 39f57865cdbfa06f02ae91ea76465246046cc47d5908aa5a3abeb9026fb73dcc
SIZE (onnxruntime/v1.8.5.zip) = 327614
SHA256 (onnxruntime/1.26.0.zip) = a723c8d8e48f12d94d01dc6245552193f4ddb7009a687849d8cfcf8cdd86e89f
SIZE (onnxruntime/1.26.0.zip) = 336679
SHA256 (onnxruntime/v1.15.0.zip) = ed98258b96c6dc8af33eeb03c8d94a05b185866604382e12980f576595bdc509
SIZE (onnxruntime/v1.15.0.zip) = 1097620
SHA256 (onnxruntime/309b75c9e56e0a674bf78d59872ce131f814dfb6.zip) = 78d7eceab4a6133660bd7b0f7035fbe3edc7a5a561294903ba528d12f7f6d24e
SIZE (onnxruntime/309b75c9e56e0a674bf78d59872ce131f814dfb6.zip) = 25426190
SHA256 (onnxruntime/v3.10.5.zip) = ea4b0084709fb934f92ca0a68669daa0fe6f2a2c6400bf353454993a834bb0bb
SIZE (onnxruntime/v3.10.5.zip) = 7381040
SHA256 (onnxruntime/fe98e0b93565382648129271381c14d6205255e3.zip) = 7aeeb8c6e134e0866655bbb7a0387166eba36bcd436a0c3e0f4c5286426b785f
SIZE (onnxruntime/fe98e0b93565382648129271381c14d6205255e3.zip) = 23353924
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
@ -35,10 +33,10 @@ SHA256 (onnxruntime/v2.1.1.zip) = 23b1bffb2eff57b1e3cb8edc9410d448db2bb43400206a
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.16.1.zip) = f9921d97a3d49b976c02bb15b728c6815e707035217388a679b31f6a61c3d33a
SIZE (onnxruntime/v1.16.1.zip) = 15694808
SHA256 (onnxruntime/9f98e2ebe7507fe0774d06a44bbf4b0e82cc9ce7.zip) = e991d6829422a862fb5441358feadfac9a220af2cb7a6b38377d31fdc48bada2
SIZE (onnxruntime/9f98e2ebe7507fe0774d06a44bbf4b0e82cc9ce7.zip) = 239961
SHA256 (onnxruntime/v1.17.0.zip) = 54ab63aec98693c8a021aa708aad046183a0d166808733429fde7f644c84d637
SIZE (onnxruntime/v1.17.0.zip) = 15767281
SHA256 (onnxruntime/c5ca8912f30e9ad630a0ef565e3d5f4bd5e91563.zip) = d990bab96db55a87884aa79616c1f6c3cebf4c8f7fc45b626625419af6ee6232
SIZE (onnxruntime/c5ca8912f30e9ad630a0ef565e3d5f4bd5e91563.zip) = 243853
SHA256 (onnxruntime/v21.12.zip) = 6a31b662deaeb0ac35e6287bda2f3369b19836e6c9f8828d4da444346f420298
SIZE (onnxruntime/v21.12.zip) = 7180794
SHA256 (onnxruntime/protoc-21.12-win64.zip) = 71852a30cf62975358edfcbbff93086e8857a079c8e4d6904881aa968d65c7f9
@ -55,12 +53,12 @@ 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/4fe0e1e183925bf8cfa6aae24237e724a96479b8.zip) = a4cf06de57bfdf8d7b537c61f1c3071bce74e57524fe053e0bbd2332feca7f95
SIZE (onnxruntime/4fe0e1e183925bf8cfa6aae24237e724a96479b8.zip) = 72209
SHA256 (onnxruntime/v2.13.1.zip) = a3c9ea1225cb731b257f2759a0c12164db8409c207ea5cf851d4b95679dda072
SIZE (onnxruntime/v2.13.1.zip) = 903966
SHA256 (onnxruntime/ca678952a9a8eaa6de112d154e8e104b22f9ab3f.zip) = ea028ced757dbc3309518ae7038ed625b02d58190078a5801d30e7b28f8b9e9c
SIZE (onnxruntime/ca678952a9a8eaa6de112d154e8e104b22f9ab3f.zip) = 3847625
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/2024-07-02.zip) = a835fe55fbdcd8e80f38584ab22d0840662c67f2feb36bd679402da9641dc71e
SIZE (onnxruntime/2024-07-02.zip) = 451539
SHA256 (onnxruntime/3.0.28.zip) = 3ffbd9a2fdff45da77da3e7269e9aa512ea43bed5c38ce8fd8f3d1068a032c3f
@ -71,20 +69,20 @@ SHA256 (onnxruntime/v3.5.1.zip) = d43261151afbd13b3c5746518db7d04585b6e27556e9c7
SIZE (onnxruntime/v3.5.1.zip) = 36639823
SHA256 (onnxruntime/72c943dea2b9240cd09efde15191e144bc7c7d38.zip) = dffb52973f0226fe5df6d9ed40b0d1af1bb89f54beec6a64b66d25e7db9c4152
SIZE (onnxruntime/72c943dea2b9240cd09efde15191e144bc7c7d38.zip) = 71643
SHA256 (onnxruntime/94142d8391c9791ec71c38336436319a2d4ac7a0.zip) = 9b2de3c9a9dd7bd36d267a0fc5f28086e2e09fb3e893d60f167fb22ebed3b209
SIZE (onnxruntime/94142d8391c9791ec71c38336436319a2d4ac7a0.zip) = 54384193
SHA256 (onnxruntime/c24b7bab0c12f53da76d0c31b03b9f0f8ec8f3b4.zip) = d0af92533f33344ef7291d18b2cb3300d512650e710f2eaff540519a6a6a2d65
SIZE (onnxruntime/c24b7bab0c12f53da76d0c31b03b9f0f8ec8f3b4.zip) = 83551041
SHA256 (onnxruntime/204da9c522cebec5220bba52cd3542ebcaf99e7a.zip) = 0801b9e2d502af5f300048109e741b7dda3a359351386444f5523a3d46c6f85b
SIZE (onnxruntime/204da9c522cebec5220bba52cd3542ebcaf99e7a.zip) = 5674776
SHA256 (onnxruntime/v1.613.1.zip) = c356d242e63f6c8e6fa8dec01f7d526b172621f0f6687611239f772095842e4c
SIZE (onnxruntime/v1.613.1.zip) = 472978
SHA256 (onnxruntime/v1.7.0.zip) = 61e5d9c35ab5031e8088ab35f36b1832a046c89a4ae667d4d0723b44c4e3f67e
SIZE (onnxruntime/v1.7.0.zip) = 800128
SHA256 (onnxruntime/511eb80847afe6bded34ec491a38d5d78ba2d604.zip) = 7a8d6857f482389f390c74c7a81d0aad9fd2f0e6223ff64ff46d247283be9185
SIZE (onnxruntime/511eb80847afe6bded34ec491a38d5d78ba2d604.zip) = 83459175
SHA256 (onnxruntime/kleidiai-v0.2.0.zip) = 370dc79af8abd46231fa91117b709e79b2ff697a5692a5306ff3275cacf15f11
SIZE (onnxruntime/kleidiai-v0.2.0.zip) = 331256
SHA256 (onnxruntime/microsoft-onnxruntime-v1.20.2_GH0.tar.gz) = 6780b0b4f11d22f30a827dbbd3bd626e85e9c48e98719e9a535eda543446eab8
SIZE (onnxruntime/microsoft-onnxruntime-v1.20.2_GH0.tar.gz) = 240597584
SHA256 (onnxruntime/40a9fa79f76e6c76cca9e2fa69ea07f202f1d2e6.zip) = f0f83fbbe66c8f99a3869123c24fefc8b7829c8bfe8a42f0d8df4cd3dbcd43b1
SIZE (onnxruntime/40a9fa79f76e6c76cca9e2fa69ea07f202f1d2e6.zip) = 76633470
SHA256 (onnxruntime/kleidiai-d15722976120710080ca098fe8ddabf4556cb40f.zip) = 8857da33291f42e305efcdb2895a787cb4998a7ee1c1d754ef33db74de45cc94
SIZE (onnxruntime/kleidiai-d15722976120710080ca098fe8ddabf4556cb40f.zip) = 2143392
SHA256 (onnxruntime/microsoft-onnxruntime-v1.21.0_GH0.tar.gz) = b395c72e0e6c6cb28525f4617bc8477c99cf65659c20439fe955c511c2da2cd9
SIZE (onnxruntime/microsoft-onnxruntime-v1.21.0_GH0.tar.gz) = 240779010
SHA256 (onnxruntime/emscripten-core-emsdk-d52c465_GH0.tar.gz) = aa409c7263862d64e0c100201b5c5e157f2c52f25368bf8cf1d5c548b3fbe681
SIZE (onnxruntime/emscripten-core-emsdk-d52c465_GH0.tar.gz) = 105204
SHA256 (onnxruntime/google-libprotobuf-mutator-7a2ed51a6b682a83e345ff49fc4cfd7ca47550db_GH0.tar.gz) = d51365191580c4bf5e9ff104eebcfe34f7ff5f471006d7a460c15dcb3657501c

View file

@ -1,11 +0,0 @@
--- cmake/external/onnxruntime_external_deps.cmake.orig 2025-02-10 16:55:12 UTC
+++ cmake/external/onnxruntime_external_deps.cmake
@@ -92,7 +92,7 @@ if (NOT WIN32)
URL ${DEP_URL_google_nsync}
URL_HASH SHA1=${DEP_SHA1_google_nsync}
PATCH_COMMAND ${Patch_EXECUTABLE} --binary --ignore-whitespace -p1 < ${PROJECT_SOURCE_DIR}/patches/nsync/nsync_1.26.0.patch
- FIND_PACKAGE_ARGS NAMES nsync unofficial-nsync
+ FIND_PACKAGE_ARGS NAMES nsync_cpp unofficial-nsync
)
#nsync tests failed on Mac Build
set(NSYNC_ENABLE_TESTS OFF CACHE BOOL "" FORCE)

View file

@ -1,4 +1,4 @@
--- onnxruntime/core/platform/posix/env.cc.orig 2024-10-06 21:45:44 UTC
--- onnxruntime/core/platform/posix/env.cc.orig 2025-03-06 00:37:52 UTC
+++ onnxruntime/core/platform/posix/env.cc
@@ -20,6 +20,7 @@ limitations under the License.
#include <dlfcn.h>
@ -8,7 +8,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
@@ -218,14 +219,14 @@ class PosixThread : public EnvThread {
@@ -224,14 +225,14 @@ class PosixThread : public EnvThread {
}
auto ret = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset);
if (0 == ret) {

View file

@ -50,6 +50,7 @@ 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
@ -63,7 +64,9 @@ 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