Skip to content

Commit

Permalink
Updated to anira v0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
faressc committed Sep 23, 2024
1 parent 5188652 commit de49ec0
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ option(NNITEMPLATE_WITH_INSTALL "Add install targets" ON)

set (PROJECT_NAME nn-inference-template)

project (${PROJECT_NAME} VERSION 0.0.2)
project (${PROJECT_NAME} VERSION 0.0.4)

# Sets the minimum macOS version
if (APPLE)
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ This repository provides a comprehensive JUCE plugin template that demonstrates

## Build instruction

On **Apple Silicon Macs** you need to install the OpenMP library via Homebrew (``` brew install libomp ```)

**Build with CMake**

```bash
Expand Down
2 changes: 1 addition & 1 deletion assets/docs/install_mac.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ At runtime, the **nn-inference-template** ```vst3```, ```component``` and ```sta

## Shared libs

The macOS versions of the **nn-inference-template** are all bundled with the dynamic libraries for anira and the inference engines. However, on **Apple Silicon Macs** you need to install the OpenMP library via Homebrew (``` brew install libomp ```)
The macOS versions of the **nn-inference-template** are all bundled with the dynamic libraries for anira and the inference engines.
4 changes: 0 additions & 4 deletions cmake/install.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,9 @@ elseif(APPLE)
list(APPEND INSTALL_TARGETS ${TARGET_NAME}_AU)
if (CMAKE_OSX_ARCHITECTURES STREQUAL "x86_64")
list(APPEND OSX_RPATHS "/opt/intel/oneapi/mkl/latest/lib")
elseif (CMAKE_OSX_ARCHITECTURES STREQUAL "arm64")
list(APPEND OSX_RPATHS "/opt/homebrew/opt/libomp/lib")
else()
if (CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64")
list(APPEND OSX_RPATHS "/opt/intel/oneapi/mkl/latest/lib")
elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64")
list(APPEND OSX_RPATHS "/opt/homebrew/opt/libomp/lib")
else()
message(FATAL_ERROR "CMAKE_OSX_ARCHITECTURES and CMAKE_HOST_SYSTEM_PROCESSOR not defined.")
endif()
Expand Down
2 changes: 1 addition & 1 deletion modules/anira

0 comments on commit de49ec0

Please sign in to comment.