From 2292fed3b45ddaed2a756cf9ab9f83c33c957c09 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 4 Jun 2025 20:46:42 -0700 Subject: [PATCH] lapack: Force gcc toolchain 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 --- meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb b/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb index f18ef1f292..7cb6c097f3 100644 --- a/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb +++ b/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb @@ -101,3 +101,6 @@ do_install_ptest () { sed -i -e 's#${PYTHON}#/usr/bin/python3#g' `find ${D}${PTEST_PATH} -name CTestTestfile.cmake` sed -i -e 's#${WORKDIR}##g' `find ${D}${PTEST_PATH} -name CTestTestfile.cmake` } + +# It needs fortran compiler and we do not enable fortran with clang yet +TOOLCHAIN = "gcc"