Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / onnxruntime
Commits: e24ada28 by Sven-Hendrik Haase at 2025-10-27T05:06:20+01:00 Prepare 1.23.2 This seems to mostly work except for this issue: https://github.com/protocolbuffers/protobuf/issues/21542. nsync has been removed from onnxruntime here: https://github.com/microsoft/onnxruntime/commit/88676e62b966add2cc144a4e7d8ae1dbda1148e8 We probably need a protobuf patch before this works. - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -15,13 +15,13 @@ pkgname=( "python-${pkgbase}-rocm" "python-${pkgbase}-opt-rocm" ) -pkgver=1.22.2 +pkgver=1.23.2 _pkgdesc='Cross-platform, high performance scoring engine for ML models' -pkgrel=10 +pkgrel=1 arch=('x86_64') url='https://github.com/microsoft/onnxruntime' license=('MIT') -depends=('abseil-cpp' 'boost' 'nsync') +depends=('abseil-cpp' 'boost') # https://github.com/microsoft/onnxruntime/blob/main/onnxruntime/python/tools/transformers/requirements.txt _pydepends=('python-numpy' 'python-coloredlogs' 'python-psutil' 'python-py-cpuinfo' 'python-sympy' 'python-scipy' 'python-pillow' @@ -38,7 +38,7 @@ source=("git+https://github.com/microsoft/onnxruntime#tag=v${pkgver}" fix-gcc-15.patch deps-cutlass-4.2.0.patch fix-thrust-api.patch) -b2sums=('ea6772d6962ff2d88f6803f3a253f88593249c431e88bf745b3f81e493176ab2ae70d13243e4e932c6c4bf56fe4d12c19ef5c5e7a6a4a2ba013a9a1ee22fa136' +b2sums=('ba28fe6c0ee88f151c0df386c42155b5a70bf0593691c8584b7f8314de148f10b22d509a7b201a684233b7a3a01e5f07752121e40678fb8021e99270f769b6dd' 'af5a5524dd9b5fe0052d2d0da232de7f219d4abffb37a7a321145b428d06fcb2901ab4e76b6754440146c223fc761bcbdfeee230167d33aa4434b82a1ebad5c0' '57c79382537f5bd25a891de3a99415a6dd8f490676df213016e897040c88e28fb5f5a5c3a8a98057e3f6630edb3ddcaeae36dcc47d5354abaafafc36e579f731' '207f020f310a7b447b4dc2fac74819f80099f088fdad6e42d67d0f01aa35bb5b9475bd006d9bec318127ae2db3d7ae3df33382fa16339d936c1dfb3832010837' @@ -80,12 +80,6 @@ prepare() { sed 's|${DEP_SHA1_cxxopts}|&\n\ \ \ \ \FIND_PACKAGE_ARGS NAMES cxxopts|g' \ -i cmake/external/onnxruntime_external_deps.cmake - # Find system nsync - # NOTE check line number after every release - sed -e 's|NAMES nsync|&_cpp|g' \ - -e '368aadd_library(nsync::nsync_cpp ALIAS nsync_cpp)' \ - -i cmake/external/onnxruntime_external_deps.cmake - patch -Np1 -i "${srcdir}/${pkgbase}-install-orttraining-files.patch" patch -Np1 -i "${srcdir}/${pkgbase}-system-flatbuffers.patch" @@ -94,26 +88,27 @@ prepare() { # Fix build with GCC 15 patch -p1 -i "${srcdir}/fix-gcc-15.patch" + git cherry-pick -n d6e712c5b7b6260a61e54d1fe40107cf5366ee77 # Update deprecated CUDA api (#24733) - git cherry-pick -n ed7c234b2535eb272462dd41cfa6cfb1ff94781c + # git cherry-pick -n ed7c234b2535eb272462dd41cfa6cfb1ff94781c # Update deprecated CCCL API (#25246) - git cherry-pick -n a2bd54bc8c59562428f6b09d3f64f9e735599cd4 + # git cherry-pick -n a2bd54bc8c59562428f6b09d3f64f9e735599cd4 # Format *.cu and *.cuh with lintrunner (#25189) - git checkout 7a6cef6fe3672c5d59f1925e5f7c0a03dcfbc90e -- \ - onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu \ - orttraining/orttraining/training_ops/cuda/reduction/all_impl.cu \ - orttraining/orttraining/training_ops/cuda/tensor/gather_grad_impl.cu - # Fix cuda 12.9 windows build (#25317) - git cherry-pick -n 7c18d896b033dba80113efb720bd8842f8c23e33 - # [CUDA] Upgrade cutlass to 3.9.2 (#24794) - git cherry-pick -n 8983424d9a8d0a39d065b0e353d6fd3f2b2a638c + # git checkout 7a6cef6fe3672c5d59f1925e5f7c0a03dcfbc90e -- \ + # onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu \ + # orttraining/orttraining/training_ops/cuda/reduction/all_impl.cu \ + # orttraining/orttraining/training_ops/cuda/tensor/gather_grad_impl.cu + # # Fix cuda 12.9 windows build (#25317) + # git cherry-pick -n 7c18d896b033dba80113efb720bd8842f8c23e33 + # # [CUDA] Upgrade cutlass to 3.9.2 (#24794) + # git cherry-pick -n 8983424d9a8d0a39d065b0e353d6fd3f2b2a638c # Bump cutlass to v4.2 which supports CUDA 13 https://github.com/NVIDIA/cutlass/pull/2587 - patch -p1 -i "${srcdir}/deps-cutlass-4.2.0.patch" + # patch -p1 -i "${srcdir}/deps-cutlass-4.2.0.patch" # Fix thrust and cub API usage - patch -p1 -i "${srcdir}/fix-thrust-api.patch" + # patch -p1 -i "${srcdir}/fix-thrust-api.patch" cd "${srcdir}" cp -r "${pkgbase}" "${pkgbase}-cpu" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/onnxruntime/-/commit/e24ada28832251dc5b047f28b00c19d1962bd6fd -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/onnxruntime/-/commit/e24ada28832251dc5b047f28b00c19d1962bd6fd You're receiving this email because of your account on gitlab.archlinux.org.
