blob: 2261fbea5e5a10ea31ac0cc5418d0257acf9fd30 [file] [log] [blame]
iree_cc_library(
NAME
util
HDRS
"util.h"
SRCS
"util.c"
DEPS
"m"
)
iree_cc_library(
NAME
mfcc
HDRS
"mfcc.h"
SRCS
"mfcc.c"
DEPS
::util
)
if (${BUILD_MFCC_WITH_RVV})
target_compile_definitions(audio_prep_mfcc PUBLIC MFCC_WITH_RVV)
endif()
sparrow_test(
NAME
mfcc_test
SRCS
"mfcc_test.cc"
DEPS
::mfcc
pw_unit_test
pw_unit_test.main
pw_assert_basic
TESTFILES
"mfcc_test.run"
)