SPARTA icon indicating copy to clipboard operation
SPARTA copied to clipboard

Intel oneAPI Toolkit no longer available for macOS

Open mspanc opened this issue 1 year ago • 3 comments

Hello,

I am attempting to rebuild the plugins by myself on macOS 14.1.2/M1.

The README points to the Intel opeAPI Toolkit in the prerequisites section. Unfortunately, Intel no longer supports Mac OS:

NOTE: Starting with the 2024.0 release, macOS* is no longer supported in Intel® oneAPI Toolkits and components. Several Intel-led open source developer tool projects will continue supporting macOS on Apple Silicon including oneAPI Threading Building Blocks (oneTBB) and Intel® Implicit SPMD Program Compiler and we welcome the opportunity to work with contributors to expand support to additional tools in the future. All macOS content will be removed from technical documentation in the 2024.1 release. If you need a copy of the documentation, click the Download button in the upper right or download it from the Downloadable Documentation site.

However, Intel® oneAPI Math Kernel Library alone seems to be available.

Probably the README should be updated.

mspanc avatar Aug 14 '24 11:08 mspanc

The issue seems to be deeper than README.

While I am trying to rebuild plugins it fails.

Using provided scripts:

./build-plugins.sh _SPARTA_ambiBIN_ all

And the error was:

In file included from /Users/x/SPARTA/SDKs/Spatial_Audio_Framework/framework/modules/saf_vbap/saf_vbap_internal.c:33:
In file included from /Users/x/SPARTA/SDKs/Spatial_Audio_Framework/framework/modules/saf_vbap/saf_vbap_internal.h:37:
/Users/x/SPARTA/SDKs/Spatial_Audio_Framework/framework/include/saf_externals.h:220:11: fatal error: 'ipp.h' file not found
# include "ipp.h"
          ^~~~~~~
1 error generated.

When using CMake:

[ 18%] Built target sparta_ambiDRC
make[2]: *** No rule to make target `/usr/local/lib/libsaf_mkl_custom_lp64.dylib', needed by `audio_plugins/_SPARTA_ambiDRC_/sparta_ambiDRC_artefacts/Release/VST/sparta_ambiDRC.vst/Contents/MacOS/sparta_ambiDRC'.  Stop.
make[1]: *** [audio_plugins/_SPARTA_ambiDRC_/CMakeFiles/sparta_ambiDRC_VST.dir/all] Error 2
make: *** [all] Error 2

mspanc avatar Aug 14 '24 11:08 mspanc

It seems the issue is that while building SAF within SPARTA, SAF_PERFORMANCE_LIB is being improperly set to SAF_USE_INTEL_MKL_LP64 on Apple.

mspanc avatar Aug 14 '24 11:08 mspanc

It seems that while CMake build can be adjusted by calling it as:

cmake -S . -B build -DSAF_PERFORMANCE_LIB=SAF_USE_APPLE_ACCELERATE -DCMAKE_OSX_ARCHITECTURES="arm64"

calling the ./build-plugins.sh script always leads to choosing Intel MKL on Apple.

mspanc avatar Aug 14 '24 12:08 mspanc

Dude you saved my day, thanks for a lot!

QiuTester avatar Oct 25 '24 01:10 QiuTester

Hi,

Thank you for letting us know and providing information that was useful for others.

MacOS versions now use Apple Accelerate as default which should address this issue for everyone :)

jananifernandez avatar Jun 02 '25 18:06 jananifernandez