From 879b7b6e1d5b4a1ec7327078d17ff47f6384c65a Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Wed, 22 Apr 2026 18:09:22 -0400 Subject: [PATCH] fftw_3.3.11.bb: Update version. Apr 21st, 2026 New API fftw_copy_plan() Support for SVE SIMD instructions. Support for LoongArch LSX and LASX SIMD instructions. Support for Apple ARM, RISCV, and LoongArch cycle counters. The patch is needed to remove build system paths creeping in via the compiler define. Enabling the cycle counters needs a kernel module to permit access from user space. We need to add SVE (and other architectures) support to the recipe. Signed-off-by: Philip Balister Signed-off-by: Khem Raj --- ...ove-the-CC-and-CFLAGS-from-the-build.patch | 31 +++++++++++++++++++ .../fftw/{fftw_3.3.10.bb => fftw_3.3.11.bb} | 3 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/fftw/fftw/0001-Remove-the-CC-and-CFLAGS-from-the-build.patch rename meta-oe/recipes-support/fftw/{fftw_3.3.10.bb => fftw_3.3.11.bb} (95%) diff --git a/meta-oe/recipes-support/fftw/fftw/0001-Remove-the-CC-and-CFLAGS-from-the-build.patch b/meta-oe/recipes-support/fftw/fftw/0001-Remove-the-CC-and-CFLAGS-from-the-build.patch new file mode 100644 index 0000000000..5b52377940 --- /dev/null +++ b/meta-oe/recipes-support/fftw/fftw/0001-Remove-the-CC-and-CFLAGS-from-the-build.patch @@ -0,0 +1,31 @@ +From f65d89c082fa4b886f9f5aaa08f4defd5fd0e207 Mon Sep 17 00:00:00 2001 +From: Philip Balister +Date: Wed, 22 Apr 2026 16:52:47 -0400 +Subject: [PATCH] Remove the CC and CFLAGS from the build. + +With 3.3.11, this started injecting build system paths into binaries. + +Upstream-Status: Inappropriate [I didn't try hard enough to figure out what changed] + +Signed-off-by: Philip Balister + +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 616cdcc4..bd7edbf2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -793,7 +793,7 @@ fi + + dnl ----------------------------------------------------------------------- + +-AC_DEFINE_UNQUOTED(FFTW_CC, "$CC $CFLAGS", [C compiler name and flags]) ++AC_DEFINE_UNQUOTED(FFTW_CC, "", [C compiler name and flags]) + + AC_CONFIG_FILES([ + Makefile +-- +2.53.0 + diff --git a/meta-oe/recipes-support/fftw/fftw_3.3.10.bb b/meta-oe/recipes-support/fftw/fftw_3.3.11.bb similarity index 95% rename from meta-oe/recipes-support/fftw/fftw_3.3.10.bb rename to meta-oe/recipes-support/fftw/fftw_3.3.11.bb index 52122b9c0c..dd6dce206b 100644 --- a/meta-oe/recipes-support/fftw/fftw_3.3.10.bb +++ b/meta-oe/recipes-support/fftw/fftw_3.3.11.bb @@ -6,10 +6,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" SRC_URI = " \ http://www.fftw.org/fftw-${PV}.tar.gz \ file://0001-NEON-autodetection-segfaults-assume-neon-present.patch \ + file://0001-Remove-the-CC-and-CFLAGS-from-the-build.patch \ file://install-bench.patch \ file://run-ptest \ " -SRC_URI[sha256sum] = "56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467" +SRC_URI[sha256sum] = "5630c24cdeb33b131612f7eb4b1a9934234754f9f388ff8617458d0be6f239a1" UPSTREAM_CHECK_URI = "http://www.fftw.org/download.html"