* [Buildroot] [PATCH] support/testing: TestPythonPy3SciPy: needs a toolchain with Fortran support
@ 2024-10-30 23:01 Romain Naour via buildroot
2024-10-31 12:48 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Romain Naour via buildroot @ 2024-10-30 23:01 UTC (permalink / raw)
To: buildroot; +Cc: Romain Naour
Switch to the Bootlin bleeding-edge toolchain since stable toolchain no
longer provide Fortran support since 2024.05-1 release [1].
The Fortran support is now optional in toolchain-builder tool and
only enabled for bleeding-edge toolchains [2].
[1] https://gitlab.com/buildroot.org/buildroot/-/commit/d3ad58dce9cafccb22d782e56677e060d5eb5a52#428f572a75eed97c0a70da290028c0efb4224a79_545_536
[2] https://gitlab.com/buildroot.org/toolchains-builder/-/commit/a178b246259d92e23679b777fa3d6c166cc424d5
Fixes: (partially)
https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992675
Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
We are back to the first build issue...
meson.build:203:49: ERROR: Could not get pkg-config variable and no default provided for <PkgConfigDependency lapack: True None>
---
support/testing/tests/package/test_python_scipy.py | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/support/testing/tests/package/test_python_scipy.py b/support/testing/tests/package/test_python_scipy.py
index fb51f25d79..b32ace8c83 100644
--- a/support/testing/tests/package/test_python_scipy.py
+++ b/support/testing/tests/package/test_python_scipy.py
@@ -5,8 +5,15 @@ from tests.package.test_python import TestPythonPackageBase
class TestPythonPy3SciPy(TestPythonPackageBase):
__test__ = True
- config = TestPythonPackageBase.config + \
+ # Need to use a different toolchain than the default due to
+ # missing Fortran support (required by python-scipy) in Bootlin
+ # toolchain 2024.05
+ config = \
"""
+ BR2_arm=y
+ BR2_TOOLCHAIN_EXTERNAL=y
+ BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
+ BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_BLEEDING_EDGE=y
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_SCIPY=y
BR2_TARGET_ROOTFS_EXT2=y
--
2.45.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH] support/testing: TestPythonPy3SciPy: needs a toolchain with Fortran support
2024-10-30 23:01 [Buildroot] [PATCH] support/testing: TestPythonPy3SciPy: needs a toolchain with Fortran support Romain Naour via buildroot
@ 2024-10-31 12:48 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-10-31 12:48 UTC (permalink / raw)
To: Romain Naour via buildroot; +Cc: Romain Naour
On Thu, 31 Oct 2024 00:01:30 +0100
Romain Naour via buildroot <buildroot@buildroot.org> wrote:
> Switch to the Bootlin bleeding-edge toolchain since stable toolchain no
> longer provide Fortran support since 2024.05-1 release [1].
>
> The Fortran support is now optional in toolchain-builder tool and
> only enabled for bleeding-edge toolchains [2].
>
> [1] https://gitlab.com/buildroot.org/buildroot/-/commit/d3ad58dce9cafccb22d782e56677e060d5eb5a52#428f572a75eed97c0a70da290028c0efb4224a79_545_536
> [2] https://gitlab.com/buildroot.org/toolchains-builder/-/commit/a178b246259d92e23679b777fa3d6c166cc424d5
>
> Fixes: (partially)
> https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992675
>
> Signed-off-by: Romain Naour <romain.naour@smile.fr>
> ---
> We are back to the first build issue...
> meson.build:203:49: ERROR: Could not get pkg-config variable and no default provided for <PkgConfigDependency lapack: True None>
> ---
> support/testing/tests/package/test_python_scipy.py | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
Applied to master, thanks. Of course, we need to understand why the
Bootlin stable toolchains lost Fortran support, but that's another
story :-)
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-31 12:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-30 23:01 [Buildroot] [PATCH] support/testing: TestPythonPy3SciPy: needs a toolchain with Fortran support Romain Naour via buildroot
2024-10-31 12:48 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox