Torsten Keßler pushed to branch main at Arch Linux / Packaging / Packages / hipblaslt
Commits: d42ad184 by Roland Barbe at 2025-02-11T10:23:40+00:00 upgpkg: 6.3.1-1 - - - - - 3 changed files: - .SRCINFO - PKGBUILD - + hipblaslt-fix-wrong-amdclang-path.patch Changes: ===================================== .SRCINFO ===================================== @@ -1,6 +1,6 @@ pkgbase = hipblaslt pkgdesc = General matrix-matrix operations beyond a traditional BLAS library - pkgver = 6.2.4 + pkgver = 6.3.1 pkgrel = 1 url = https://rocm.docs.amd.com/projects/hipBLASLt/en/latest/index.html arch = x86_64 @@ -19,9 +19,11 @@ pkgbase = hipblaslt depends = hip-runtime-amd depends = hipblas depends = rocblas - source = hipblaslt-6.2.4.tar.gz::https://github.com/ROCm/hipBLASLt/archive/rocm-6.2.4.tar.gz + source = hipblaslt-6.3.1.tar.gz::https://github.com/ROCm/hipBLASLt/archive/rocm-6.3.1.tar.gz source = hipblaslt-find-msgpack5.patch - sha256sums = b8a72cb1ed4988b0569817c6387fb2faee4782795a0d8f49b827b32b52572cfd + source = hipblaslt-fix-wrong-amdclang-path.patch + sha256sums = 9a18a2e44264a21cfe58ed102fd3e34b336f23d6c191ca2da726e8e0883ed663 sha256sums = 8e6d134a1d45de814099dfe591296de5e1d47f9906ccf9c51d7f2228e992c5f4 + sha256sums = 336455e150798d7bbbb54dab6c5dc850e17346ae4bed5500723592633f232993 pkgname = hipblaslt ===================================== PKGBUILD ===================================== @@ -1,6 +1,6 @@ # Maintainer: Torsten Keßler <tpkessler at archlinux dot org> pkgname=hipblaslt -pkgver=6.2.4 +pkgver=6.3.1 pkgrel=1 pkgdesc='General matrix-matrix operations beyond a traditional BLAS library' arch=('x86_64') @@ -8,26 +8,32 @@ url='https://rocm.docs.amd.com/projects/hipBLASLt/en/latest/index.html' license=('MIT') depends=('rocm-core' 'glibc' 'gcc-libs' 'hip-runtime-amd' 'hipblas' 'rocblas') makedepends=('rocm-cmake' 'python' 'cmake' 'git' - 'msgpack-cxx' 'python-msgpack' 'python-joblib' 'python-pyaml') + 'msgpack-cxx' 'python-msgpack' 'python-joblib' 'python-pyaml' 'hipblas-common') _git='https://github.com/ROCm/hipBLASLt' source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz" - "$pkgname-find-msgpack5.patch") -sha256sums=('b8a72cb1ed4988b0569817c6387fb2faee4782795a0d8f49b827b32b52572cfd' - '8e6d134a1d45de814099dfe591296de5e1d47f9906ccf9c51d7f2228e992c5f4') + "$pkgname-find-msgpack5.patch" + "$pkgname-fix-wrong-amdclang-path.patch" + ) +sha256sums=('9a18a2e44264a21cfe58ed102fd3e34b336f23d6c191ca2da726e8e0883ed663' + '8e6d134a1d45de814099dfe591296de5e1d47f9906ccf9c51d7f2228e992c5f4' + '336455e150798d7bbbb54dab6c5dc850e17346ae4bed5500723592633f232993') _dirname="$(basename "$_git")-$(basename "${source[0]}" ".tar.gz")" prepare() { cd "$_dirname" patch -Np1 -i "$srcdir/$pkgname-find-msgpack5.patch" + patch -Np1 -i "$srcdir/$pkgname-fix-wrong-amdclang-path.patch" } -build() { +build() { + export PATH="/opt/rocm/lib/llvm/bin:$PATH" local cmake_args=( -Wno-dev -B build -S "$_dirname" -D CMAKE_BUILD_TYPE=None - -D CMAKE_CXX_COMPILER=/opt/rocm/bin/hipcc + -D CMAKE_C_COMPILER=/opt/rocm/lib/llvm/bin/amdclang + -D CMAKE_CXX_COMPILER=/opt/rocm/lib/llvm/bin/amdclang++ -D CMAKE_INSTALL_PREFIX=/opt/rocm -D Tensile_CODE_OBJECT_VERSION=default ) ===================================== hipblaslt-fix-wrong-amdclang-path.patch ===================================== @@ -0,0 +1,10 @@ +--- old/library/src/amd_detail/rocblaslt/src/kernels/compile_code_object.sh ++++ new/library/src/amd_detail/rocblaslt/src/kernels/compile_code_object.sh +@@ -34,5 +34,5 @@ + fi + + rocm_path="${ROCM_PATH:-/opt/rocm}" +-clang_path="${rocm_path}/bin/amdclang++" ++clang_path="${rocm_path}/lib/llvm/bin/amdclang++" + $clang_path -x hip "$sources" --offload-arch="${archs}" -c --offload-device-only -Xoffload-linker --build-id=$build_id_kind $additional_options -o "$dest" +\ No newline at end of file View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/hipblaslt/-/commit/d42ad18479ceced5fe65e5edbe8eba6d8da369e9 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/hipblaslt/-/commit/d42ad18479ceced5fe65e5edbe8eba6d8da369e9 You're receiving this email because of your account on gitlab.archlinux.org.