Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Samsung v2.1 submission into submission-v2.1-revert #606

Merged
merged 4 commits into from
Nov 5, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions mobile_back_samsung/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Link to .so libs
# https://github.com/mlcommons/mobile_back_samsung/tree/merge-submission-v2.0-into-master_samsung-backend/mobile_back_samsung/samsung/lib
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
Expand All @@ -17,8 +15,9 @@ cc_library(
] + select({
"android_arm64": [
"samsung_backend/lib/libenn_public_api_cpp.so",
"samsung_backend/lib/libsbe2200_core.so",
"samsung_backend/lib/libsbe1200_core.so",
"samsung_backend/lib/libsbe2200_core.so",
"samsung_backend/lib/libsbe2300_core.so",
"samsung_backend/lib/libc++.so",
"samsung_backend/lib/libeden_nn_on_system.so",
],
Expand Down
17 changes: 17 additions & 0 deletions mobile_back_samsung/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Building MLPerf Open app with Samsung backend

<!-- markdown-link-check-disable-next-line -->
1. Update the "lib" folder at 'mobile_app_open/mobile_back_samsung/samsung/lib' by copying it from [here](https://github.com/mlcommons/mobile_back_samsung/tree/submission_v2.1_samsung_backend/samsung_libs/mobile_back_samsung/samsung). Here are the .so libs hashes:
```
5aceeaf47af8c3c1847906a12a7b5de70260e5cbd36a70ab2d163c08682399eb libsamsungbackend.so
2104ff038a520180ac4eb6ca5797fa4bd93f1a50943a4412de9bb783947b3194 libsbe1200_core.so
9333a90f065f65610e0ddc788003b33b55c9940f73e665b3d6a0282de11c046c libsbe2100_core.so
959e772790516649eb5454fd17c4219e3778e35af620061e5c62c6c4a88e1d67 libsbe2200_core.so
d5a475d949018179c8e6aa18a5e524c79197a55e07092d5a63e04d5da10d281c libsbe2300_core.so
```
anhappdev marked this conversation as resolved.
Show resolved Hide resolved
2. Change directory to the main path (mobile_app_open)
3. Run the build command

```bash
make WITH_SAMSUNG=1 OFFICIAL_BUILD=false FLUTTER_BUILD_NUMBER=0 docker/flutter/android/release
anhappdev marked this conversation as resolved.
Show resolved Hide resolved
```
Loading