mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 08:09:32 +02:00
Disable use of AVX instructions in libsoxr
This commit is contained in:
parent
bc46ca9aaf
commit
eabcd35d26
@ -11,7 +11,7 @@ list( APPEND SOURCES
|
|||||||
${TARGET_ROOT}/src/cr32.c
|
${TARGET_ROOT}/src/cr32.c
|
||||||
${TARGET_ROOT}/src/cr32s.c
|
${TARGET_ROOT}/src/cr32s.c
|
||||||
${TARGET_ROOT}/src/cr64.c
|
${TARGET_ROOT}/src/cr64.c
|
||||||
${TARGET_ROOT}/src/cr64s.c
|
# ${TARGET_ROOT}/src/cr64s.c
|
||||||
${TARGET_ROOT}/src/data-io.c
|
${TARGET_ROOT}/src/data-io.c
|
||||||
${TARGET_ROOT}/src/dbesi0.c
|
${TARGET_ROOT}/src/dbesi0.c
|
||||||
${TARGET_ROOT}/src/fft4g.c
|
${TARGET_ROOT}/src/fft4g.c
|
||||||
@ -19,10 +19,10 @@ list( APPEND SOURCES
|
|||||||
${TARGET_ROOT}/src/fft4g64.c
|
${TARGET_ROOT}/src/fft4g64.c
|
||||||
${TARGET_ROOT}/src/filter.c
|
${TARGET_ROOT}/src/filter.c
|
||||||
${TARGET_ROOT}/src/pffft32s.c
|
${TARGET_ROOT}/src/pffft32s.c
|
||||||
${TARGET_ROOT}/src/pffft64s.c
|
# ${TARGET_ROOT}/src/pffft64s.c
|
||||||
${TARGET_ROOT}/src/soxr.c
|
${TARGET_ROOT}/src/soxr.c
|
||||||
${TARGET_ROOT}/src/util32s.c
|
${TARGET_ROOT}/src/util32s.c
|
||||||
${TARGET_ROOT}/src/util64s.c
|
# ${TARGET_ROOT}/src/util64s.c
|
||||||
${TARGET_ROOT}/src/vr32.c
|
${TARGET_ROOT}/src/vr32.c
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -71,17 +71,19 @@ set( WITH_VR32 YES )
|
|||||||
|
|
||||||
find_package( SIMD32 )
|
find_package( SIMD32 )
|
||||||
if( SIMD32_FOUND )
|
if( SIMD32_FOUND )
|
||||||
set( WITH_CR32S ON )
|
set( WITH_CR32S YES )
|
||||||
string( STRIP ${SIMD32_C_FLAGS} SIMD32_C_FLAGS )
|
string( STRIP ${SIMD32_C_FLAGS} SIMD32_C_FLAGS )
|
||||||
list( APPEND OPTIONS ${SIMD32_C_FLAGS} )
|
list( APPEND OPTIONS ${SIMD32_C_FLAGS} )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package( SIMD64 )
|
# Disabling since we do not want AVX instructions in distribution builds
|
||||||
if( SIMD64_FOUND )
|
#
|
||||||
set( WITH_CR64S ON )
|
#find_package( SIMD64 )
|
||||||
string( STRIP ${SIMD64_C_FLAGS} SIMD64_C_FLAGS )
|
#if( SIMD64_FOUND )
|
||||||
list( APPEND OPTIONS ${SIMD64_C_FLAGS} )
|
# set( WITH_CR64S ON )
|
||||||
endif()
|
# string( STRIP ${SIMD64_C_FLAGS} SIMD64_C_FLAGS )
|
||||||
|
# list( APPEND OPTIONS ${SIMD64_C_FLAGS} )
|
||||||
|
#endif()
|
||||||
|
|
||||||
set( WITH_HI_PREC_CLOCK YES )
|
set( WITH_HI_PREC_CLOCK YES )
|
||||||
set( WITH_FLOAT_STD_PREC_CLOCK NO )
|
set( WITH_FLOAT_STD_PREC_CLOCK NO )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user