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

[Enhancement] Remove find backend dependencies when build dynamic lib #1988

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

irexyc
Copy link
Collaborator

@irexyc irexyc commented Apr 14, 2023

Motivation

support three build strategies:

MMDEPLOY_SHARED_LIBS MMDEPLOY_BUILD_SDK_MONOLITHIC mmdeploy lib type need find backend package
ON ON single dynamic no
ON OFF multi dynamic no
OFF OFF multi static yes
MMDEPLOY_SHARED_LIBS MMDEPLOY_BUILD_SDK_MONOLITHIC mmdeploy lib type need find backend package
ON OFF dynamic no
OFF OFF static yes
OFF ON dynamic no

Modification

Please briefly describe what modification is made in this PR.

@lvhan028
Copy link
Collaborator

May merge the latest main branch to resolve github action errors

@codecov
Copy link

codecov bot commented Apr 28, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (ca773a7) 49.68% compared to head (c938c3f) 49.68%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1988   +/-   ##
=======================================
  Coverage   49.68%   49.68%           
=======================================
  Files         339      339           
  Lines       12975    12975           
  Branches     1899     1899           
=======================================
  Hits         6447     6447           
  Misses       6080     6080           
  Partials      448      448           
Flag Coverage Δ
unittests 49.68% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@RunningLeon RunningLeon added the enhancement New feature or request label May 6, 2023
@@ -6,7 +6,7 @@ mmdeploy_add_library(${PROJECT_NAME} opencv_utils.cpp)

target_link_libraries(${PROJECT_NAME}
PRIVATE mmdeploy::core
PUBLIC ${OpenCV_LIBS})
PUBLIC $<BUILD_INTERFACE:${OpenCV_LIBS}>)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What benefits it can bring in?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove opencv deps

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants