Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel oneAPI Toolkit no longer available for macOS #90

Open
mspanc opened this issue Aug 14, 2024 · 4 comments
Open

Intel oneAPI Toolkit no longer available for macOS #90

mspanc opened this issue Aug 14, 2024 · 4 comments

Comments

@mspanc
Copy link

mspanc commented Aug 14, 2024

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
Copy link
Author

mspanc commented Aug 14, 2024

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
Copy link
Author

mspanc commented Aug 14, 2024

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
Copy link
Author

mspanc commented Aug 14, 2024

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.

@QiuTester
Copy link

Dude you saved my day, thanks for a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants