# \[FR\] Add IPP support for FFT

**URL:** <https://forum.juce.com/t/fr-add-ipp-support-for-fft/31915>\
**Category:** General JUCE discussion\
**Created:** [February 22, 2019, 12:41am UTC](https://forum.juce.com/t/fr-add-ipp-support-for-fft/31915 "2019-02-22T00:41:51Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![yairadix](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/yairadix/32/1114_2.png) [@yairadix](https://forum.juce.com/u/yairadix)\
**Post date:** [December 2, 2020, 2:52pm UTC](https://forum.juce.com/t/fr-add-ipp-support-for-fft/31915/23 "2020-12-02T14:52:35Z")

</div>

> [@PeterRoos](#):
>
> So linking the x86-64 slice with IPP in a universal binary is easy?

Well, I sure hope there’s no problems there. Will update when I try to make a UB build

---

<div class="post-metadata">

**Author:** ![PeterRoos](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@PeterRoos](https://forum.juce.com/u/PeterRoos)\
**Post date:** [December 2, 2020, 2:53pm UTC](https://forum.juce.com/t/fr-add-ipp-support-for-fft/31915/24 "2020-12-02T14:53:33Z")

</div>

I have been looking at getting a Mini with an M1 for testing… ahhh, Apple… grrrr

---

<div class="post-metadata">

**Author:** ![PluginPenguin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pluginpenguin/32/10203_2.png) [@PluginPenguin](https://forum.juce.com/u/PluginPenguin)\
**Post date:** [December 2, 2020, 4:24pm UTC](https://forum.juce.com/t/fr-add-ipp-support-for-fft/31915/25 "2020-12-02T16:24:49Z")

</div>

> [@PeterRoos](#):
>
> So linking the x86-64 slice with IPP in a universal binary is easy?

Well, not really. In case you build a UB plugin, all the libraries you link against need to be UB too, even if your code only accesses e.g. IPP calls when being compiled for x86\_64. It will still build an link but throw a lot of warnings, which you obviously don’t want if you care about warning free builds. I googled a lot but found no way of linking a certain library to one slice of your universal binary only.

My solution to this was building an empty dummy library for arm64 and using the `lipo` tool to merge all the required ipp libraries with the empty arm library. This works well and silences all the linker warnings. Please let me know if you found an easier way to achieve this 😁

[Previous page](https://forum.juce.com/t/fr-add-ipp-support-for-fft/31915.md?page=1)
