blob: 6bfd7cd19dbf74c8e6648ce3d1f14a59f40e73de [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_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"
)