Torsten Keßler pushed to branch main at Arch Linux / Packaging / Packages /
miopen-hip
Commits:
dcd4ba27 by Torsten Keßler at 2026-11-13T16:08:22+01:00
upgpkg: 10.1-1
Closes archlinux/packaging/packages/miopen-hip#10
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = miopen-hip
pkgdesc = AMD's Machine Intelligence Library (HIP backend)
- pkgver = 10.0
+ pkgver = 10.1
pkgrel = 1
url = https://rocm.docs.amd.com/projects/MIOpen/en/latest/index.html
arch = x86_64
@@ -31,11 +31,11 @@ pkgbase = miopen-hip
provides = miopen
conflicts = miopen
options = !lto
- source =
miopen-hip-10.0.tar.gz::https://github.com/ROCm/rocm-libraries/releases/download/therock-10.0/miopen.tar.gz
- source =
miopen-hip-half-10.0.tar.gz::https://github.com/ROCm/half/archive/therock-10.0.tar.gz
+ source =
miopen-hip-10.1.tar.gz::https://github.com/ROCm/rocm-libraries/releases/download/therock-10.1/miopen.tar.gz
+ source =
miopen-hip-half-10.1.tar.gz::https://github.com/ROCm/half/archive/therock-10.1.tar.gz
source =
miopen-hip-frugally-deep::git+https://github.com/Dobiasd/frugally-deep#tag=v0.15.31
- sha256sums =
cbfefb40aff124c31386b47f9528d8b68cce3948117629f4c7344ca065bea19f
- sha256sums =
637329dc2e19dc803cc5becece1951c24529ee1c2a1fdda3fb741b8f8e53658e
+ sha256sums =
1134726a9ffad9da77db3716031241fbe48f792a268bc83daf01cc6e33fe29d8
+ sha256sums =
6881b646760d4964e1753fd44635aeadd4936a60d2949196c123da4387fb8abe
sha256sums =
d1e1d55945eded7219c50f59f55967327118d6792df5a283c01131b18a3f061f
pkgname = miopen-hip
=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
# Contributor: JP-Ellis <[email protected]>
pkgname=miopen-hip
-pkgver=10.0
+pkgver=10.1
pkgrel=1
# pin frugally-deep version as workaround workaround for
https://github.com/ROCm/MIOpen/issues/3588
_fdeep_ver=0.15.31
@@ -47,8 +47,8 @@ source=(
"${pkgname}-half-$pkgver.tar.gz::https://github.com/ROCm/half/archive/therock-$pkgver.tar.gz"
"${pkgname}-frugally-deep::git+https://github.com/Dobiasd/frugally-deep#tag=v$_fdeep_ver"
)
-sha256sums=('cbfefb40aff124c31386b47f9528d8b68cce3948117629f4c7344ca065bea19f'
- '637329dc2e19dc803cc5becece1951c24529ee1c2a1fdda3fb741b8f8e53658e'
+sha256sums=('1134726a9ffad9da77db3716031241fbe48f792a268bc83daf01cc6e33fe29d8'
+ '6881b646760d4964e1753fd44635aeadd4936a60d2949196c123da4387fb8abe'
'd1e1d55945eded7219c50f59f55967327118d6792df5a283c01131b18a3f061f')
options=(!lto)
_dirname=miopen
@@ -59,9 +59,6 @@ prepare() {
# Disable tests as they require an AMD GPU at build time
sed -i '/add_subdirectory(test)/d' CMakeLists.txt
- # libstdc++ 16 warns about <ciso646> in C++20, and MIOpen uses -Werror
- sed -i '/#include <ciso646>/d' src/include/miopen/serializable.hpp
-
# MIOpen includes half/half.hpp
install -Dm644 "$srcdir/half-therock-$pkgver/include/half.hpp"
"$srcdir/half/half/half.hpp"
}
@@ -82,18 +79,22 @@ build() {
# Only the CK plugins MIOpenCKGroupedConv_<gfx>.so use GPU_TARGETS. Use the
# plugin targets of src/ck_impl/CMakeLists.txt that composable-kernel has.
# gfx9-generic does not cover gfx908 and gfx90a.
- local _gpu_targets="$(rocm-supported-gfx -e
gfx9-generic,gfx1010,gfx1012,gfx1030,gfx1031,gfx1035,gfx1036,gfx1103,gfx1170);gfx908;gfx90a"
+ local _gpu_targets="$(rocm-supported-gfx -e
gfx9-generic,gfx1010,gfx1012,gfx1030,gfx1031,gfx1035,gfx1036,gfx1103,gfx1170,gfx1250);gfx908;gfx90a"
# -g also emits DWARF for every GPU target into .hip_fatbin, which strip
# does not remove. Keep host debug info only.
# define NDEBUG to silence internal logging (mimics cmake release build)
# https://rocmsoftwareplatform.github.io/MIOpen/doc/html/DebugAndLogging.html
+ local _flags="${CXXFLAGS} -Xarch_device -g0 -fcf-protection=none -DNDEBUG"
local cmake_args=(
-Wno-dev
-G Ninja
-B build
-S "$_dirname"
- -D CMAKE_CXX_FLAGS="${CXXFLAGS} -Xarch_device -g0 -fcf-protection=none
-DNDEBUG"
+ -D CMAKE_CXX_FLAGS="$_flags"
+ # The vendored hipconv uses the HIP language. Its gfx950 kernels need
+ # optimization and more constexpr steps for their static_asserts.
+ -D CMAKE_HIP_FLAGS="$_flags -fconstexpr-steps=2097152"
-D CMAKE_INSTALL_PREFIX=/opt/rocm
-D CMAKE_BUILD_TYPE=None
-D CMAKE_CXX_COMPILER=amdclang++
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/miopen-hip/-/commit/dcd4ba276d6e6ae53f694137e118c6a5d818f246
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/miopen-hip/-/commit/dcd4ba276d6e6ae53f694137e118c6a5d818f246
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help