Skip to content

Commit

Permalink
[Cherry-pick] Strip libnnadapter.so (#9550)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhupengyang authored Oct 14, 2022
1 parent 0e38642 commit e2757c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lite/backends/nnadapter/nnadapter/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ add_subdirectory(runtime)
add_subdirectory(driver)

add_library(nnadapter SHARED nnadapter.cc)
target_link_libraries(nnadapter "-Wl,--start-group,--whole-archive" ${NNADAPTER_UTILITIES} ${NNADAPTER_OPERATIONS} ${NNADAPTER_OPTIMIZERS} ${NNADAPTER_RUNTIME} "-Wl,--no-whole-archive,--end-group")
target_link_libraries(nnadapter "-Wl,--start-group,--whole-archive" ${NNADAPTER_UTILITIES} ${NNADAPTER_OPERATIONS} ${NNADAPTER_OPTIMIZERS} ${NNADAPTER_RUNTIME} "-Wl,--no-whole-archive,--end-group -Wl,--strip-all")

0 comments on commit e2757c6

Please sign in to comment.