From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 56675158020 for ; Mon, 19 Dec 2022 14:00:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 024A7E0B58; Mon, 19 Dec 2022 14:00:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D2C70E0B58 for ; Mon, 19 Dec 2022 14:00:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 73CFC3417A0 for ; Mon, 19 Dec 2022 14:00:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7EDB7F8 for ; Mon, 19 Dec 2022 14:00:42 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1671458404.4a1a80febf086efb37f3dff5d714191f9e126476.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/rocBLAS/, sci-libs/rocBLAS/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/rocBLAS/Manifest sci-libs/rocBLAS/files/rocBLAS-4.3.0-change-default-Tensile-library-dir.patch sci-libs/rocBLAS/files/rocBLAS-4.3.0-link-system-blas.patch sci-libs/rocBLAS/files/rocBLAS-4.3.0-remove-problematic-test-suites.patch sci-libs/rocBLAS/files/rocBLAS-4.3.0-unbundle-Tensile.patch sci-libs/rocBLAS/rocBLAS-4.3.0-r1.ebuild sci-libs/rocBLAS/rocBLAS-4.3.0.ebuild X-VCS-Directories: sci-libs/rocBLAS/ sci-libs/rocBLAS/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 4a1a80febf086efb37f3dff5d714191f9e126476 X-VCS-Branch: master Date: Mon, 19 Dec 2022 14:00:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 42a69f89-4fa1-4db2-a0e4-642f37d9d282 X-Archives-Hash: 11736dc61b1d1204329dc0c7c62fb82e commit: 4a1a80febf086efb37f3dff5d714191f9e126476 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Dec 18 13:10:39 2022 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Dec 19 14:00:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1a80fe sci-libs/rocBLAS: drop 4.3.0, 4.3.0-r1 Signed-off-by: Andreas Sturmlechner gentoo.org> sci-libs/rocBLAS/Manifest | 2 - ...-4.3.0-change-default-Tensile-library-dir.patch | 39 ------ .../files/rocBLAS-4.3.0-link-system-blas.patch | 24 ---- ...BLAS-4.3.0-remove-problematic-test-suites.patch | 22 ---- .../files/rocBLAS-4.3.0-unbundle-Tensile.patch | 22 ---- sci-libs/rocBLAS/rocBLAS-4.3.0-r1.ebuild | 146 --------------------- sci-libs/rocBLAS/rocBLAS-4.3.0.ebuild | 140 -------------------- 7 files changed, 395 deletions(-) diff --git a/sci-libs/rocBLAS/Manifest b/sci-libs/rocBLAS/Manifest index ca44e7ca5686..8e328c26a78e 100644 --- a/sci-libs/rocBLAS/Manifest +++ b/sci-libs/rocBLAS/Manifest @@ -1,5 +1,3 @@ DIST rocBLAS-5.0.2-Tensile-asm_full-navi22.tar.gz 1110323 BLAKE2B 80fab97c6f89fccf1f8829ad41baf15ad31bbbb313b48825841834c7ec1b9f8ece794aebdf9fda42b54a38f642beb1bc1e374f2f3b4e43d8ba9dfd1eb6e3ece5 SHA512 8f6946cf9d68afd195640ae7e0da8dc33341c67f28813813b5361a56531fa2af4453d075703ea52c66d93a1936cf74688b86aa2fa62b52a7ed5f03272290c232 -DIST rocm-Tensile-4.3.0.tar.gz 14250149 BLAKE2B 030138eaca2a0aadd96801e6dbd72e510716dd90553ef3795c5e04e00a34a05ecae82b24f755e4033a4acfcdb1cf26291da1e7902bb090f89a010d403e832beb SHA512 126db0b413c716fba8d5be9bff7a44fd1badacbf32f3db8d0db649819177db37ebd56fd22dd3c809655f5d29675be115e698cd10bc3d0b4b23878ae3726fce47 -DIST rocm-rocBLAS-4.3.0.tar.gz 11569970 BLAKE2B f11b0acf2bbd5737b036142d3b2cc1e18c38e088a8b7db58156d478dd6718befbb82bb7fd43a38fe64a5427124c5ad5241fa37977f094e6efd195d168d3e5f65 SHA512 490ab1c1e98a8b311ad5630515c448d9bb0a2bf588a08bcbebee345e2954d616b4ffe7c2e03dadca82c590438c42afccb98fe8ba00856aece101b5ffe62ef1e0 DIST rocm-rocBLAS-5.0.2.tar.gz 13295178 BLAKE2B e1abfa06b9ac1545732465857839dae3f3708af49439a306a2b5b1b1b392101c38c95815f2c05a0d9ed29d41b154bc2e16a4f9203a37f5e2f68ee12cc4b44a06 SHA512 2f4a74f49350ede0debcf32229a6b6b95505615723c3f2bee16e4c169a3bb966dfb1971819028f47c525f571bea5662b892e63f655b0d1d2b8f20746bc5fe770 DIST rocm-rocBLAS-5.1.3.tar.gz 13741546 BLAKE2B af10d8cb69bee44ef5aab2dc350e1d9f3b6fddb3a840c17230c4b55b2649a4724c9f2e58c1eafdb3e2716eea016a72a35c3ddb498881b1ce682d780baa8d8b07 SHA512 5ab71838fdd0e9c5848cbf28a19d113353b619a878d8c7d05f64feb32faae2054169c95ed6e9dd6b05a2e807b57229dd2c361c4d289b6e6f17c196558640890f diff --git a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-change-default-Tensile-library-dir.patch b/sci-libs/rocBLAS/files/rocBLAS-4.3.0-change-default-Tensile-library-dir.patch deleted file mode 100644 index 1841424c6e56..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-change-default-Tensile-library-dir.patch +++ /dev/null @@ -1,39 +0,0 @@ -change the default rocm tensile library search path ---- orig/library/src/tensile_host.cpp 2021-08-21 17:56:47.040481580 +0800 -+++ rocBLAS-rocm-4.3.0/library/src/tensile_host.cpp 2021-08-21 17:58:46.360482372 +0800 -@@ -489,34 +489,7 @@ namespace - } - else - { --#ifndef ROCBLAS_STATIC_LIB -- Dl_info info; -- -- // Find the location of librocblas.so -- // Fall back on hard-coded path if static library or not found -- // [Use a C API (rocblas_sccal) *not* defined in this file to -- // avoid compile-time resolution of the function pointer; cf. -- // https://man7.org/linux/man-pages/man3/dladdr.3.html "BUGS"] -- -- if(dladdr((void*)rocblas_sscal, &info)) -- { -- path = info.dli_fname; -- path = std::string{dirname(&path[0])}; -- } -- else --#endif -- { -- path = "/opt/rocm/rocblas/lib"; -- } -- -- // Find the location of the libraries -- if(TestPath(path + "/../../Tensile/library")) -- path += "/../../Tensile/library"; -- else -- path += "/library"; -- -- if(TestPath(path + "/" + processor)) -- path += "/" + processor; -+ path="@GENTOO_PORTAGE_EPREFIX@/usr/lib64/rocblas/library"; - } - - // only load modules for the current architecture diff --git a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-link-system-blas.patch b/sci-libs/rocBLAS/files/rocBLAS-4.3.0-link-system-blas.patch deleted file mode 100644 index 184b76d7ef38..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-link-system-blas.patch +++ /dev/null @@ -1,24 +0,0 @@ -Link system blas libraries rather than the downloaded libraries (in install.sh) - ---- orig/clients/benchmarks/CMakeLists.txt -+++ rocBLAS-rocm-4.2.0/clients/benchmarks/CMakeLists.txt -@@ -49,7 +49,7 @@ target_include_directories( rocblas-benc - $ - ) - --target_link_libraries( rocblas-bench PRIVATE rocblas_fortran_client roc::rocblas lapack cblas ) -+target_link_libraries( rocblas-bench PRIVATE rocblas_fortran_client roc::rocblas lapack cblas -lblas ) - if(LINK_BLIS) - target_link_libraries( rocblas-bench PRIVATE ${BLIS_LIBRARY} ) - endif() ---- orig/clients/gtest/CMakeLists.txt -+++ rocBLAS-rocm-4.2.0/clients/gtest/CMakeLists.txt -@@ -129,7 +129,7 @@ target_include_directories( rocblas-test - $ - ) - --target_link_libraries( rocblas-test PRIVATE rocblas_fortran_client roc::rocblas lapack cblas ${GTEST_LIBRARIES} ) -+target_link_libraries( rocblas-test PRIVATE rocblas_fortran_client roc::rocblas lapack cblas -lblas ${GTEST_LIBRARIES} ) - if(LINK_BLIS) - target_link_libraries( rocblas-test PRIVATE ${BLIS_LIBRARY} ) - endif() diff --git a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-remove-problematic-test-suites.patch b/sci-libs/rocBLAS/files/rocBLAS-4.3.0-remove-problematic-test-suites.patch deleted file mode 100644 index 4265e999f322..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-remove-problematic-test-suites.patch +++ /dev/null @@ -1,22 +0,0 @@ -Those tests will fail comparing rocblas vs openblas, because the testing program is so strict that it cannot tolerate the numerical differences which is actually OK. - -https://github.com/ROCmSoftwarePlatform/rocBLAS/issues/1202 ---- orig/clients/gtest/known_bugs.yaml -+++ rocBLAS-rocm-4.3.0/clients/gtest/known_bugs.yaml -@@ -7,6 +7,16 @@ Known bugs: - - { function: gemm_ex, a_type: i8_r, b_type: i8_r, c_type: i32_r, d_type: i32_r, compute_type: i32_r, flags: 0, known_bug_platforms: "gfx900,gfx906,gfx1010,gfx1011,gfx1012,gfx1030" } - - { function: gemm_batched_ex, a_type: i8_r, b_type: i8_r, c_type: i32_r, d_type: i32_r, compute_type: i32_r, flags: 0, known_bug_platforms: "gfx900,gfx906,gfx90a,gfx1010,gfx1011,gfx1012,gfx1030" } - - { function: gemm_strided_batched_ex, a_type: i8_r, b_type: i8_r, c_type: i32_r, d_type: i32_r, compute_type: i32_r, flags: 0, known_bug_platforms: "gfx900,gfx906,gfx1010,gfx1011,gfx1012,gfx1030" } -+# gemv openblas reference differences due to summation order dependent roundoff accumulation with large M float complex -+# 8th significant digit difference vs CPU on single precision float math, leads to expected equality test failure -+# code needs to be changed to a tolerance test or reduce M for float complex type if using equality vs. CPU reference -+- { function: gemv, a_type: f32_c, transA: T, M: 131071 } -+- { function: gemv, a_type: f32_c, transA: C, M: 131071 } -+- { function: gemv_batched, a_type: f32_c, transA: T, M: 131071 } -+- { function: gemv_batched, a_type: f32_c, transA: C, M: 131071 } -+- { function: gemv_strided_batched, a_type: f32_c, transA: T, M: 131071 } -+- { function: gemv_strided_batched, a_type: f32_c, transA: C, M: 131071 } -+ - - #- { function: gemm_ex, a_type: bf16_r, b_type: bf16_r, c_type: bf16_r, d_type: bf16_r, compute_type: f32_r, transA: C, transB: N, M: 512, N: 512, K: 512, lda: 512, ldb: 512, ldc: 512, ldd: 512, alpha: 5.0, alphai: 0.0, beta: 0.0, betai: 0.0, known_bug_platforms: gfx908 } - #- { function: gemm_ex, a_type: bf16_r, b_type: bf16_r, c_type: bf16_r, d_type: bf16_r, compute_type: f32_r, transA: C, transB: N, M: 512, N: 512, K: 512, lda: 512, ldb: 512, ldc: 512, ldd: 512, alpha: 0.0, alphai: 0.0, beta: 3.0, betai: 0.0, known_bug_platforms: gfx908 } diff --git a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-unbundle-Tensile.patch b/sci-libs/rocBLAS/files/rocBLAS-4.3.0-unbundle-Tensile.patch deleted file mode 100644 index c8d99c851b00..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-unbundle-Tensile.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/cmake/virtualenv.cmake b/cmake/virtualenv.cmake -index 4c29c94..f9838c2 100644 ---- a/cmake/virtualenv.cmake -+++ b/cmake/virtualenv.cmake -@@ -11,7 +11,7 @@ set(VIRTUALENV_HOME_DIR ${CMAKE_BINARY_DIR}/virtualenv CACHE PATH "Path to virtu - function(virtualenv_create) - message("${VIRTUALENV_PYTHON_EXE} -m venv ${VIRTUALENV_HOME_DIR} --system-site-packages --clear") - execute_process( -- COMMAND ${VIRTUALENV_PYTHON_EXE} -m venv ${VIRTUALENV_HOME_DIR} --system-site-packages --clear -+ COMMAND true - ) - endfunction() - -@@ -21,7 +21,7 @@ function(virtualenv_install) - message("${VIRTUALENV_HOME_DIR}/bin/python -m pip install ${ARGN}") - execute_process( - RESULT_VARIABLE rc -- COMMAND ${VIRTUALENV_HOME_DIR}/bin/python -m pip install ${ARGN} -+ COMMAND true - ) - if(rc) - message(FATAL_ERROR ${rc}) diff --git a/sci-libs/rocBLAS/rocBLAS-4.3.0-r1.ebuild b/sci-libs/rocBLAS/rocBLAS-4.3.0-r1.ebuild deleted file mode 100644 index 63704e613e53..000000000000 --- a/sci-libs/rocBLAS/rocBLAS-4.3.0-r1.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -DOCS_BUILDER="doxygen" -DOCS_DIR="docs" -DOCS_DEPEND="media-gfx/graphviz" -inherit cmake docs prefix python-any-r1 - -DESCRIPTION="AMD's library for BLAS on ROCm" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocBLAS" -SRC_URI="https://github.com/ROCmSoftwarePlatform/rocBLAS/archive/rocm-${PV}.tar.gz -> rocm-${P}.tar.gz" -S="${WORKDIR}/${PN}-rocm-${PV}" - -LICENSE="BSD" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" -IUSE="benchmark test" -RESTRICT="!test? ( test )" - -BDEPEND="${PYTHON_DEPS} - dev-util/rocm-cmake:${SLOT} - $(python_gen_any_dep ' - dev-util/Tensile[${PYTHON_USEDEP}] - ') - dev-util/Tensile:${SLOT} -" - -DEPEND=" - dev-util/hip:${SLOT} - dev-libs/msgpack - test? ( - virtual/blas - dev-cpp/gtest - sys-libs/libomp - ) - benchmark? ( - virtual/blas - sys-libs/libomp - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.3.0-fix-glibc-2.32-and-above.patch - "${FILESDIR}"/${PN}-4.3.0-change-default-Tensile-library-dir.patch - "${FILESDIR}"/${PN}-4.3.0-link-system-blas.patch - "${FILESDIR}"/${PN}-4.3.0-remove-problematic-test-suites.patch - "${FILESDIR}"/${PN}-4.3.0-unbundle-Tensile.patch -) - -python_check_deps() { - python_has_version "dev-util/Tensile[${PYTHON_USEDEP}]" -} - -src_prepare() { - cmake_src_prepare - # Fit for Gentoo FHS rule - sed -e "/PREFIX rocblas/d" \ - -e "/