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 812D6158086 for ; Sat, 6 Nov 2021 13:29:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 930CEE0874; Sat, 6 Nov 2021 13:29:18 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 9B788E0874 for ; Sat, 6 Nov 2021 13:29:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 81264342DF9 for ; Sat, 6 Nov 2021 13:29:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09FAED0 for ; Sat, 6 Nov 2021 13:29:15 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1636205349.18027275e55fc2a39d3ca393dff7b3fe195a98df.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/rocSPARSE/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/rocSPARSE/rocSPARSE-4.3.0-r1.ebuild X-VCS-Directories: sci-libs/rocSPARSE/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 18027275e55fc2a39d3ca393dff7b3fe195a98df X-VCS-Branch: master Date: Sat, 6 Nov 2021 13:29:15 +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: be890d95-c123-432c-9ff4-e304c722d27c X-Archives-Hash: 7e2de0f6f4f54e1868deebaada367c44 commit: 18027275e55fc2a39d3ca393dff7b3fe195a98df Author: YiyangWu gmail com> AuthorDate: Sat Nov 6 11:01:36 2021 +0000 Commit: Benda XU gentoo org> CommitDate: Sat Nov 6 13:29:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18027275 sci-libs/rocSPARSE: fix matrices dir for tests Fix the following issue: Tests requiring data were skipped because of wrong directory. Bug: https://github.com/ROCmSoftwarePlatform/rocSPARSE/issues/227 Closes: https://github.com/gentoo/gentoo/pull/22806 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Yiyang Wu gmail.com> Signed-off-by: Benda Xu gentoo.org> sci-libs/rocSPARSE/rocSPARSE-4.3.0-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-libs/rocSPARSE/rocSPARSE-4.3.0-r1.ebuild b/sci-libs/rocSPARSE/rocSPARSE-4.3.0-r1.ebuild index a196780e222..7c554093db9 100644 --- a/sci-libs/rocSPARSE/rocSPARSE-4.3.0-r1.ebuild +++ b/sci-libs/rocSPARSE/rocSPARSE-4.3.0-r1.ebuild @@ -82,14 +82,14 @@ src_prepare() { # Test need download data from https://sparse.tamu.edu (or other mirror site), check MD5, unpack and convert them into csr format # This process is handled default by ${S}/cmake/ClientMatrices.cmake, but should be the responsibility of portage. if use test; then - mkdir -p "${BUILD_DIR}"/matrices + mkdir -p "${BUILD_DIR}"/clients/matrices # compile and use the mtx2csr converter. Do not use any optimization flags, because it causes error! ebegin "$(tc-getCXX) deps/convert.cpp -o deps/convert" $(tc-getCXX) deps/convert.cpp -o deps/convert eend $? find "${WORKDIR}" -maxdepth 2 -regextype egrep -regex ".*/(.*)/\1\.mtx" -print0 | while IFS= read -r -d '' mtxfile; do - destination=${BUILD_DIR}/matrices/$(basename -s '.mtx' ${mtxfile}).csr + destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' ${mtxfile}).csr ebegin "Converting ${mtxfile} to ${destination}" deps/convert ${mtxfile} ${destination} eend $?