diff options
author | Paul Zander <negril.nx+gentoo@gmail.com> | 2024-08-21 18:07:09 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-08-25 16:40:15 +0100 |
commit | 69103fa9b95de28634242b19e99a1bcc93aac5ce (patch) | |
tree | aa2bbe4d38cb0d270ffd116fdba21b1821144302 /sci-libs | |
parent | sci-libs/hipSPARSE: fix wrong find regextype (diff) | |
download | gentoo-69103fa9b95de28634242b19e99a1bcc93aac5ce.tar.gz gentoo-69103fa9b95de28634242b19e99a1bcc93aac5ce.tar.bz2 gentoo-69103fa9b95de28634242b19e99a1bcc93aac5ce.zip |
sci-libs/rocSPARSE: fix wrong find regextype
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38239
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/rocSPARSE/rocSPARSE-5.1.3-r1.ebuild | 2 | ||||
-rw-r--r-- | sci-libs/rocSPARSE/rocSPARSE-5.7.1-r2.ebuild | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sci-libs/rocSPARSE/rocSPARSE-5.1.3-r1.ebuild b/sci-libs/rocSPARSE/rocSPARSE-5.1.3-r1.ebuild index 31d07cee0a08..c18eeff84c43 100644 --- a/sci-libs/rocSPARSE/rocSPARSE-5.1.3-r1.ebuild +++ b/sci-libs/rocSPARSE/rocSPARSE-5.1.3-r1.ebuild @@ -94,7 +94,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 grep -E -regex ".*/(.*)/\1\.mtx" -print0 | + find "${WORKDIR}" -maxdepth 2 -regextype egrep -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}" diff --git a/sci-libs/rocSPARSE/rocSPARSE-5.7.1-r2.ebuild b/sci-libs/rocSPARSE/rocSPARSE-5.7.1-r2.ebuild index e370820ce9dc..1864cd0ee3b2 100644 --- a/sci-libs/rocSPARSE/rocSPARSE-5.7.1-r2.ebuild +++ b/sci-libs/rocSPARSE/rocSPARSE-5.7.1-r2.ebuild @@ -95,7 +95,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 grep -E -regex ".*/(.*)/\1\.mtx" -print0 | + find "${WORKDIR}" -maxdepth 2 -regextype egrep -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}" |