From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/rocSPARSE/
Date: Sat, 6 Nov 2021 13:29:15 +0000 (UTC) [thread overview]
Message-ID: <1636205349.18027275e55fc2a39d3ca393dff7b3fe195a98df.heroxbd@gentoo> (raw)
commit: 18027275e55fc2a39d3ca393dff7b3fe195a98df
Author: YiyangWu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Sat Nov 6 11:01:36 2021 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> 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 <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Benda Xu <heroxbd <AT> 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 $?
next reply other threads:[~2021-11-06 13:29 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-06 13:29 Benda XU [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-04 10:55 [gentoo-commits] repo/gentoo:master commit in: sci-libs/rocSPARSE/ Patrick Lauer
2025-02-08 10:07 Patrick Lauer
2025-01-05 21:49 Sam James
2024-09-09 18:20 Sam James
2024-08-25 15:41 Sam James
2024-03-08 19:22 Sam James
2023-11-27 14:35 Benda XU
2023-07-05 18:15 Craig Andrews
2023-03-02 16:30 罗百科
2023-02-01 9:53 Andreas Sturmlechner
2022-12-04 14:50 Pacho Ramos
2022-10-15 15:01 Sam James
2022-06-20 11:52 Benda XU
2022-05-15 1:00 Sam James
2022-03-20 8:57 Benda XU
2021-10-10 14:53 Benda XU
2021-01-24 7:49 Benda XU
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1636205349.18027275e55fc2a39d3ca393dff7b3fe195a98df.heroxbd@gentoo \
--to=heroxbd@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox