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

Git IPP happy on linux #49

Open
sudara opened this issue Sep 4, 2023 · 2 comments
Open

Git IPP happy on linux #49

sudara opened this issue Sep 4, 2023 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@sudara
Copy link
Owner

sudara commented Sep 4, 2023

No description provided.

@sudara sudara added the help wanted Extra attention is needed label Sep 4, 2023
@tobiashienzsch
Copy link

tobiashienzsch commented Dec 19, 2023

4 Steps needed:

- name: Install IPP (Linux)
  if: runner.os == 'Linux'
  shell: bash
  run: |
    wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
    echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
    sudo apt update
    sudo apt install intel-oneapi-ipp-devel
cmake -D CMAKE_PREFIX_PATH=/opt/intel/oneapi/ipp/latest ...
find_package(IPP)
if(IPP_FOUND)
    target_link_libraries(neo-dsp INTERFACE ${IPP_LIBRARIES})
    target_compile_definitions(neo-dsp INTERFACE NEO_HAS_INTEL_IPP=1)
else()
    message(FATAL_ERROR "Intel IPP was not found")
endif()
// Directory structure changed from version 2021.09 to 2021.10
// "NEW"-style also works for 2021.09
// Maybe needs upstream fixes in JUCE

// OLD
// - include/
//    - ipp.h
//    - ipps.h

// NEW
// - include/
//    - ipp.h
//    - ipp/
//        - ipp.h
//        - ipps.h


// change include from
#include <ipps.h>
// to
#include <ipp.h>

Working example: github.com/neo-sonar/neo-dsp

@sudara
Copy link
Owner Author

sudara commented Dec 19, 2023

WOW! Thanks for this head start, this is serious. And yes, it's time to update IPP on pamplejuce, thanks for that reminder too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants