Skip to contentSkip to conversation

fftw_3.3.11.bb: Update version.

PATCH Superseded Philip Balister 2 participants 3 messages Apr 22

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 ...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%)
meta-oe/recipes-support/fftw/fftw/0001-Remove-the-CC-and-CFLAGS-from-the-build.patch new file +31 -0
new file mode 100644
index 0000000000..5b52377940
@@ -0,0 +1,31 @@
+From f65d89c082fa4b886f9f5aaa08f4defd5fd0e207 Mon Sep 17 00:00:00 2001
+From: Philip Balister <[email protected]>
+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 <[email protected]>
+
+---
+ 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
+
meta-oe/recipes-support/fftw/fftw_3.3.11.bb renamed from meta-oe/recipes-support/fftw/fftw_3.3.10.bb +2 -1
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
@@ -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"
 
Signature · 1 line
2.53.0
#1 lore raw
Quoted 38 lines · Philip Balister via lists.openembedded.org

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.

---
 ...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

(quoted diff) +8 -0
@@ -0,0 +1,31 @@
+From f65d89c082fa4b886f9f5aaa08f4defd5fd0e207 Mon Sep 17 00:00:00 2001
+From: Philip Balister <[email protected]>
+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
Quoted 2 lines

what changed]

ugh, can you try doing something like below instead of this patch.

(quoted diff) +0 -0

b/meta-oe/recipes-support/fftw/fftw_3.3.11.bb
index dd6dce206b..e33d12af10 100644

meta-oe/recipes-support/fftw/fftw_3.3.11.bb +0 -1
@@ -58,7 +57,7 @@ do_configure() {
 do_compile() {
     for lib in fftw fftwl fftwf; do
         cd ${WORKDIR}/build-$lib
-        test -n "${TOOLCHAIN_OPTIONS}" && sed -i -e

's|${TOOLCHAIN_OPTIONS}||g' config.h
+ sed -i -e 's|${DEBUG_PREFIX_MAP}||g;
s|--sysroot=${STAGING_DIR_TARGET}||g' config.h
autotools_do_compile
done
}

Quoted 63 lines
(quoted diff) +23 -1
+
+Signed-off-by: Philip Balister <[email protected]>
+
+---
+ 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
+
meta-oe/recipes-support/fftw/fftw_3.3.11.bb renamed from meta-oe/recipes-support/fftw/fftw_3.3.10.bb +0 -0
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
@@ -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 \
meta-oe/recipes-support/fftw/fftw_3.3.11.bb renamed from meta-oe/recipes-support/fftw/fftw_3.3.10.bb +1 -1
+    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"

--
2.53.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#126559):
https://lists.openembedded.org/g/openembedded-devel/message/126559
Mute This Topic: https://lists.openembedded.org/mt/118963268/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

OK, I'll give that a try.

Quoted 143 lines · Khem Raj

On Wed, Apr 22, 2026 at 3:09 PM Philip Balister via lists.openembedded.org <http://lists.openembedded.org> <[email protected] <mailto:[email protected]>> wrote:

    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 <[email protected]
    <mailto:[email protected]>>
    ---
      ...ove-the-CC-and-CFLAGS-from-the-build.patch | 31 +++++++++++++++++++
      .../fftw/{fftw_3.3.10.bb <http://fftw_3.3.10.bb> => fftw_3.3.11.bb
    <http://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 <http://
    fftw_3.3.10.bb> => fftw_3.3.11.bb <http://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 <[email protected]
    <mailto:[email protected]>>
    +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]

ugh, can you try doing something like below instead of this patch.

meta-oe/recipes-support/fftw/fftw_3.3.11.bb <http://fftw_3.3.11.bb> +0 -1
index dd6dce206b..e33d12af10 100644
@@ -58,7 +57,7 @@ do_configure() {
  do_compile() {
      for lib in fftw fftwl fftwf; do
          cd ${WORKDIR}/build-$lib
-        test -n "${TOOLCHAIN_OPTIONS}" && sed -i -e 's| 

${TOOLCHAIN_OPTIONS}||g' config.h
+        sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|-- sysroot=${STAGING_DIR_TARGET}||g' config.h autotools_do_compile
     done
 }

    +
    +Signed-off-by: Philip Balister <[email protected]
    <mailto:[email protected]>>
    +
    +---
    + configure.ac <http://configure.ac> | 2 +-
    + 1 file changed, 1 insertion(+), 1 deletion(-)
    +
    +diff --git a/configure.ac <http://configure.ac> b/configure.ac
    <http://configure.ac>
    +index 616cdcc4..bd7edbf2 100644
    +--- a/configure.ac <http://configure.ac>
    ++++ b/configure.ac <http://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 <http://
    fftw_3.3.10.bb> b/meta-oe/recipes-support/fftw/fftw_3.3.11.bb
    <http://fftw_3.3.11.bb>
    similarity index 95%
    rename from meta-oe/recipes-support/fftw/fftw_3.3.10.bb <http://
    fftw_3.3.10.bb>
    rename to meta-oe/recipes-support/fftw/fftw_3.3.11.bb <http://
    fftw_3.3.11.bb>
    index 52122b9c0c..dd6dce206b 100644
    --- a/meta-oe/recipes-support/fftw/fftw_3.3.10.bb <http://
    fftw_3.3.10.bb>
    +++ b/meta-oe/recipes-support/fftw/fftw_3.3.11.bb <http://
    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 <http://www.fftw.org/fftw-$
    %7BPV%7D.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 <http://
    www.fftw.org/download.html>"

    -- 
    2.53.0


    -=-=-=-=-=-=-=-=-=-=-=-
    Links: You receive all messages sent to this group.
    View/Reply Online (#126559): https://lists.openembedded.org/g/
    openembedded-devel/message/126559 <https://lists.openembedded.org/g/
    openembedded-devel/message/126559>
    Mute This Topic: https://lists.openembedded.org/mt/118963268/1997914
    <https://lists.openembedded.org/mt/118963268/1997914>
    Group Owner: [email protected]
    <mailto:openembedded-devel%[email protected]>
    Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/
    unsub <https://lists.openembedded.org/g/openembedded-devel/unsub>
    [[email protected] <mailto:[email protected]>]
    -=-=-=-=-=-=-=-=-=-=-=-