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

[Lite] Support custom Paddle-Lite lib setting #1906

Merged
merged 2 commits into from
May 8, 2023

Conversation

DefTruth
Copy link
Collaborator

@DefTruth DefTruth commented May 6, 2023

PR types(PR类型)

Description

  • 支持指定自定义Paddle-Lite依赖库,通过PADDLELITE_DIRECTORY指定

  • 用法示例:

cmake .. -DPADDLELITE_DIRECTORY=xxx/built/lite-android-arm64-v8a-fp16-latest-dev1
  • lite-android-arm64-v8a-fp16-latest-dev1目录中包含:
 ls -lh */*
-rw-r--r--  1 root  staff    23K  1 17 01:22 include/paddle_api.h
-rw-r--r--  1 root  staff   8.3K  1 17 01:22 include/paddle_image_preprocess.h
-rw-r--r--  1 root  staff   1.6K  1 17 01:22 include/paddle_lite_factory_helper.h
-rw-r--r--  1 root  staff   7.5K  1 17 01:22 include/paddle_place.h
-rw-r--r--  1 root  staff    26K  1 17 01:22 include/paddle_use_kernels.h
-rw-r--r--  1 root  staff   7.9K  1 17 01:22 include/paddle_use_ops.h
-rw-r--r--  1 root  staff   4.8K  1 17 01:22 include/paddle_use_passes.h
-rw-r--r--  1 root  staff    92M  1 17 01:26 lib/libpaddle_api_full_bundled.a
-rwxr-xr-x  1 root  staff    14M  1 17 01:24 lib/libpaddle_full_api_shared.so

@DefTruth DefTruth merged commit 27a8c89 into PaddlePaddle:develop May 8, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant