Skip to content

Commit

Permalink
[ci] Fixes for raspberry pi
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Aug 4, 2023
1 parent d4e0c13 commit e97efea
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/libossia
22 changes: 18 additions & 4 deletions 3rdparty/libossia.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,29 @@ if(SCORE_DEPLOYMENT_BUILD)
set(KFR_ENABLE_DFT_MULTIARCH 0)
set(KFR_ENABLE_DFT_MULTIARCH 0 CACHE "" INTERNAL)
else()
set(KFR_ENABLE_DFT_MULTIARCH 1)
set(KFR_ENABLE_DFT_MULTIARCH 1 CACHE "" INTERNAL)
if(CMAKE_SYSTEM_PROCESSOR MATCHES x86)
set(KFR_ENABLE_DFT_MULTIARCH 1)
set(KFR_ENABLE_DFT_MULTIARCH 1 CACHE "" INTERNAL)
else()
set(KFR_ENABLE_DFT_MULTIARCH 0)
set(KFR_ENABLE_DFT_MULTIARCH 0 CACHE "" INTERNAL)
endif()
endif()
endif()

if(OSSIA_ENABLE_KFR)
if(NOT CPU_ARCH AND NOT KFR_ARCH)
set(KFR_ARCH sse2)
set(KFR_ARCH sse2 CACHE "" INTERNAL)
if(APPLE)
if(CMAKE_SYSTEM_PROCESSOR MATCHES x86)
set(KFR_ARCH avx)
set(KFR_ARCH avx CACHE "" INTERNAL)
endif()
else()
if(CMAKE_SYSTEM_PROCESSOR MATCHES x86)
set(KFR_ARCH sse2)
set(KFR_ARCH sse2 CACHE "" INTERNAL)
endif()
endif()
endif()
endif()

Expand Down
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,6 @@ include_directories(SYSTEM "${OSSIA_3RDPARTY_FOLDER}/readerwriterqueue")

include_directories(SYSTEM "${3RDPARTY_FOLDER}/magicitems/include/")
include_directories(SYSTEM "${3RDPARTY_FOLDER}/avendish/include/")
if(BOOST_ROOT)
include_directories(SYSTEM "${BOOST_ROOT}")
endif()

set(SCORE_LIBRARIES_LIST CACHE INTERNAL "List of libraries")
set(SCORE_PLUGINS_LIST CACHE INTERNAL "List of plugins")
Expand Down

0 comments on commit e97efea

Please sign in to comment.