summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2022-12-04 15:16:22 +0100
committerPacho Ramos <pacho@gentoo.org>2022-12-04 15:49:20 +0100
commit07bfce3c4a4eac470b564757743dc5c689bf4854 (patch)
treeff018335ed3ca8bfa7e456f75fddee651d3b721d /sci-libs/rocSPARSE
parentsci-libs/hipSPARSE: Replace obsolete egrep call (diff)
downloadgentoo-07bfce3c4a4eac470b564757743dc5c689bf4854.tar.gz
gentoo-07bfce3c4a4eac470b564757743dc5c689bf4854.tar.bz2
gentoo-07bfce3c4a4eac470b564757743dc5c689bf4854.zip
sci-libs/rocSPARSE: Replace obsolete egrep call
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-libs/rocSPARSE')
-rw-r--r--sci-libs/rocSPARSE/rocSPARSE-5.1.3.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci-libs/rocSPARSE/rocSPARSE-5.1.3.ebuild b/sci-libs/rocSPARSE/rocSPARSE-5.1.3.ebuild
index 0ed300de5755..cb8a7d8c23fb 100644
--- a/sci-libs/rocSPARSE/rocSPARSE-5.1.3.ebuild
+++ b/sci-libs/rocSPARSE/rocSPARSE-5.1.3.ebuild
@@ -91,7 +91,7 @@ src_prepare() {
mkdir -p "${BUILD_DIR}"/clients/matrices
# compile and use the mtx2csr converter. Do not use any optimization flags, because it causes error!
edo $(tc-getCXX) deps/convert.cpp -o deps/convert
- find "${WORKDIR}" -maxdepth 2 -regextype egrep -regex ".*/(.*)/\1\.mtx" -print0 |
+ find "${WORKDIR}" -maxdepth 2 -regextype grep -E -regex ".*/(.*)/\1\.mtx" -print0 |
while IFS= read -r -d '' mtxfile; do
destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' ${mtxfile}).csr
ebegin "Converting ${mtxfile} to ${destination}"