diff mbox series

[meta-oe,3/3] lapack: upgrade to latest 3.12.1

Message ID 20250121183133.23102-3-martin.jansa@gmail.com
State Accepted
Headers show
Series [meta-oe,1/3] lapack: add PACKAGECONFIG for cblas | expand

Commit Message

Martin Jansa Jan. 21, 2025, 6:31 p.m. UTC
* adjust the list of .f files to cover also newly used .f90 files, causing:
  http://errors.yoctoproject.org/Errors/Details/840502/

ERROR: lapack-3.12.1-r0 do_package_qa: QA Issue: File /usr/lib/lapack/ptest/bin/xdmdeigtsts in package lapack-ptest contains reference to TMPDIR [buildpaths]
ERROR: lapack-3.12.1-r0 do_package_qa: QA Issue: File /usr/lib/lapack/ptest/bin/xdmdeigtstd in package lapack-ptest contains reference to TMPDIR [buildpaths]
ERROR: lapack-3.12.1-r0 do_package_qa: QA Issue: File /usr/lib/lapack/ptest/bin/xdmdeigtstz in package lapack-ptest contains reference to TMPDIR [buildpaths]
ERROR: lapack-3.12.1-r0 do_package_qa: QA Issue: File /usr/lib/lapack/ptest/bin/xdmdeigtstc in package lapack-ptest contains reference to TMPDIR [buildpaths]
ERROR: lapack-3.12.1-r0 do_package_qa: Fatal QA errors were found, failing task.

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
---
 .../lapack/{lapack_3.12.0.bb => lapack_3.12.1.bb}         | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-devtools/lapack/{lapack_3.12.0.bb => lapack_3.12.1.bb} (90%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/lapack/lapack_3.12.0.bb b/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb
similarity index 90%
rename from meta-oe/recipes-devtools/lapack/lapack_3.12.0.bb
rename to meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb
index 4845d34106..87a5747246 100644
--- a/meta-oe/recipes-devtools/lapack/lapack_3.12.0.bb
+++ b/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb
@@ -16,7 +16,7 @@  DEPENDS = "libgfortran \
           "
 RDEPENDS:${PN}-ptest += "cmake"
 
-SRCREV = "04b044e020a3560ccfa9988c8a80a1fb7083fc2e"
+SRCREV = "5ebe92156143a341ab7b14bf76560d30093cfc54"
 SRC_URI = "git://github.com/Reference-LAPACK/lapack.git;protocol=https;branch=master \
            ${@bb.utils.contains('PTEST_ENABLED', '1', 'file://run-ptest', '', d)} \
           "
@@ -63,9 +63,9 @@  do_configure:append(){
         # for f in $(find ${S} -name \*.f -printf " %f" | sort -u); do
         # would be more reliable with other optional PACKAGECONFIGs, but also very slow as there are
         # ~ 3500 of them and this loop takes around 20 minutes
-        for f in xerbla c_cblat1 c_cblat2 c_cblat3 c_dblat1 c_dblat2 c_dblat3 c_sblat1 c_sblat2 c_sblat3 c_zblat1 c_zblat2 c_zblat3; do
-            sed -i -e "s#\(.*-c \).*\(/$f\.f \)#\1$(grep "\-c .*$f\.f" $file | awk -F'cd ' '{print $2}'| \
-                awk "{src=\$1; sub(/.*-c /, \"\"); sub(/$f\.f.*/, \"\"); obj=\$0; print src, obj}" | \
+        for f in xerbla.f c_cblat1.f c_cblat2.f c_cblat3.f c_dblat1.f c_dblat2.f c_dblat3.f c_sblat1.f c_sblat2.f c_sblat3.f c_zblat1.f c_zblat2.f c_zblat3.f cchkdmd.f90 dchkdmd.f90 schkdmd.f90 zchkdmd.f90; do
+            sed -i -e "s#\(.*-c \).*\(/$f \)#\1$(grep "\-c .*$f" $file | awk -F'cd ' '{print $2}'| \
+                awk "{src=\$1; sub(/.*-c /, \"\"); sub(/$f.*/, \"\"); obj=\$0; print src, obj}" | \
                 while read src obj; do echo "$(realpath --relative-to="$src" "$obj")"; done)\2#g" $file
          done
     done