Skip to content

The right way to link to nnpack #5863

@wangkuiyi

Description

@wangkuiyi

In our root CMakeLists.txt file, we have

Paddle/CMakeLists.txt

Lines 177 to 180 in d883547

if(USE_NNPACK)
include(external/nnpack)
list(APPEND EXTERNAL_LIBS ${NNPACK_LIBS})
endif(USE_NNPACK)

It uses the special variable EXTERNAL_LIBS.

@hedaoyuan I am wondering why glog and gflags and many other third-party libraries don't need to be added to EXTERNAL_LIBS, but nnpack has to be?

Could @gangliao have a look at this issue as well? Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions