mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
sci-libs/rocSPARSE: Replace obsolete egrep call
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user