blob: c8085ded278e5c6924a0779e54d2da5ccad0f9e0 [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(samples_audio_prep_mfcc PUBLIC MFCC_WITH_RVV)
endif()
springbok_test(
NAME
mfcc_test
SRCS
"mfcc_test.cc"
DEPS
::mfcc
pw_unit_test
pw_unit_test.main
pw_assert_basic
TESTFILES
"mfcc_test.run"
)