summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/lapack
Commit message (Collapse)AuthorAgeFilesLines
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-1/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lapack: Force gcc toolchainKhem Raj2025-06-041-0/+3
| | | | | | | | | | | It need gfortran to build and if we have clang as system compiler it does not work properly to compile it. Fixes aarch64-yoe-linux-gfortran: fatal error: cannot read spec file 'libgfortran.spec': No such file or directory compilation terminated. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lapack: fix lapack-ptest rdepends on lapack-devZhang Peng2025-02-151-1/+2
| | | | | | | | | | | | When LAPACKE is enabled, the QA check fails with the following error: ERROR: lapack-3.12.1-r0 do_package_qa: QA Issue: lapack-ptest rdepends on lapack-dev [dev-deps] ERROR: lapack-3.12.1-r0 do_package_qa: Fatal QA errors were found, failing task. The root cause is that `lapack-ptest` accidentally installed `lapacke.pc`, which is a development file intended to be included only in the `lapack-dev` package. To resolve this: Remove `lapacke.pc` from the `lapack-ptest` installation Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lapack: upgrade to latest 3.12.1Martin Jansa2025-01-241-4/+4
| | | | | | | | | | | | | | * 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> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lapack: fix buildpaths in ptest also when CBLAS is enabledMartin Jansa2025-01-241-6/+17
| | | | | | | | | | | | | | | | | | | ERROR: lapack-3.12.0-r0 do_package_qa: QA Issue: File /usr/lib/lapack/ptest/bin/xccblat3 in package lapack-ptest contains reference to TMPDIR File /usr/lib/lapack/ptest/bin/xdcblat3 in package lapack-ptest contains reference to TMPDIR File /usr/lib/lapack/ptest/bin/xdcblat1 in package lapack-ptest contains reference to TMPDIR File /usr/lib/lapack/ptest/bin/xscblat1 in package lapack-ptest contains reference to TMPDIR File /usr/lib/lapack/ptest/bin/xccblat2 in package lapack-ptest contains reference to TMPDIR File /usr/lib/lapack/ptest/bin/xzcblat2 in package lapack-ptest contains reference to TMPDIR File /usr/lib/lapack/ptest/bin/xzcblat1 in package lapack-ptest contains reference to TMPDIR File /usr/lib/lapack/ptest/bin/xccblat1 in package lapack-ptest contains reference to TMPDIR File /usr/lib/lapack/ptest/bin/xdcblat2 in package lapack-ptest contains reference to TMPDIR File /usr/lib/lapack/ptest/bin/xscblat2 in package lapack-ptest contains reference to TMPDIR File /usr/lib/lapack/ptest/bin/xscblat3 in package lapack-ptest contains reference to TMPDIR File /usr/lib/lapack/ptest/bin/xzcblat3 in package lapack-ptest contains reference to TMPDIR [buildpaths] Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lapack: add PACKAGECONFIG for cblasMartin Jansa2025-01-241-0/+1
| | | | | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lapack: fix TMPDIR reference in do_package_qaZhang Peng2025-01-131-0/+31
| | | | | | | | | | | | | | | | | | | | | | When building the `lapack` package, the following QA error occurs: "File /usr/lib64/libblas.so.3.12.0 in package lapack contains reference to TMPDIR [buildpaths]" The issue arises because the `xerbla.o` object file embeds the absolute host path of `xerbla.f`. This occurs during compilation, where the build command in `build.make` (generated by CMake) specifies: `gfortran -c <absolute path>/xerbla.f -o`. As a result, the absolute path is included in `xerbla.o`. Unfortunately, `gfortran` does not support flags like `-fdebug-prefix-map` or `-ffile-prefix-map` to remove such paths. To resolve this, the fix involves replacing the absolute path of `xerbla.f` in the generated `build.make` file with a relative path before the compilation step. This ensures that the resulting `xerbla.o` does not contain any references to TMPDIR, passing the `do_package_qa` check. For ptest code, the solution is to replace `${WORKDIR}` with `../../..` in the generated `build.make` files located in the TESTING directory. Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lapack: upgrade 3.10.1 -> 3.12.0Wang Mingyu2024-01-081-2/+2
| | | | | | | License-Update: Copyright year updated to 2023. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lapack: Add ptest supportChi Xu2023-08-072-4/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 103 test cases in all. Test results on qemu with kvm: root@qemux86-64:~# ptest-runner lapack START: ptest-runner 2023-08-07T07:10 BEGIN: /usr/lib64/lapack/ptest PASS: BLAS-xblat1s PASS: BLAS-xblat2s ... PASS: LAPACK-xeigtstz_lse_in PASS: LAPACK-xlintstds_dstest_in PASS: LAPACK-xlintstzc_zctest_in DURATION: 55 END: /usr/lib64/lapack/ptest 2023-08-07T07:11 STOP: ptest-runner TOTAL: 1 FAIL: 0 If build lapack with lapacke, following test cases will be included in ptest. PASS: example_DGESV_rowmajor PASS: example_DGESV_colmajor PASS: example_DGELS_rowmajor PASS: example_DGELS_colmajor Signed-off-by: Chi Xu <chi.xu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lapack: add packageconfig for lapackeAdrian Zaharia2022-08-081-0/+3
| | | | | Signed-off-by: Adrian Zaharia <Adrian.Zaharia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lapack: upgrade 3.10.0 -> 3.10.1wangmy2022-04-251-2/+2
| | | | | | | | Changelog: http://netlib.org/lapack/lapack-3.10.1.html Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lapack: upgrade 3.9.0 -> 3.10.0wangmy2022-04-121-2/+2
| | | | | | | | | | License-Update: Copyright year updated to 2021. Changelog: http://netlib.org/lapack/lapack-3.10.0.html Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Fix override syntaxKhem Raj2021-08-061-2/+2
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Martin Jansa <Martin.Jansa@gmail.com>
* lapack: use git fetcherMartin Jansa2020-04-151-3/+3
| | | | | | | | * fixes: ERROR: lapack-3.9.0-r0 do_package_qa: QA Issue: lapack: SRC_URI uses unstable GitHub archives [src-uri-bad] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lapack: upgrade 3.8.0 -> 3.9.0Wang Mingyu2020-03-251-3/+3
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lapack: Exclude from world buildsKhem Raj2018-08-191-1/+1
| | | | | | | Since we do not build toolchain with fortran enabled this will always fail Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lapack: Add recipe.Philip Balister2018-08-191-0/+24
* Build tested. * Note: needs FORTRAN enabled in local.conf or similar. * Used to build scipy on pi-3. scipy passed many tests. * Based on work from meta-gnss https://github.com/carlesfernandez/meta-gnss-sdr * Hopefully this helps others playing with scipy and things. Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>