Skip to content

Commit

Permalink
fix: build audio classifier for armv7
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed Feb 3, 2024
1 parent b6961e5 commit 37f7c82
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mediapipe_api/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,10 @@ cc_library(
cc_library(
name = "audio_classification_calculators",
deps = ["@mediapipe//mediapipe/tasks/cc/audio/audio_classifier:audio_classifier"],
copts = select({
"@mediapipe//mediapipe:android_arm": ["-mfpu=neon"], # NEON must be enabled for pffft
"//conditions:default": [],
}),
)

pkg_zip(
Expand Down

0 comments on commit 37f7c82

Please sign in to comment.