Skip to content

Commit

Permalink
math/pffft: fix build on powerpc*
Browse files Browse the repository at this point in the history
SIMD is currently broken.
  • Loading branch information
pkubaj committed Feb 20, 2022
1 parent a23dfd2 commit b938534
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions math/pffft/Makefile
Expand Up @@ -22,6 +22,8 @@ CMAKE_ON= BUILD_SHARED_LIBS INSTALL_PFDSP INSTALL_PFFASTCONV
.if ${ARCH} == i386
CFLAGS+= -msse2
CXXFLAGS+= -msse2 # fixes error: always_inline function '_mm_unpacklo_ps' requires target feature 'sse', but would be inlined into function 'pffft_zreorder' that is compiled without support for 'sse'
.elif ${ARCH:Mpowerpc*}
CMAKE_ARGS+= -DUSE_SIMD:BOOL=OFF #https://github.com/marton78/pffft/issues/55
.endif

post-install: # move headers into a dedicated directory
Expand Down

0 comments on commit b938534

Please sign in to comment.