Maratyszcza / NNPACK

Acceleration package for neural networks on multi-core CPUs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make install dont link to libcpuinfo.so

Wanger-SJTU opened this issue · comments

the libnnpack is build with cmake -G "Unix Makefiles" -D BUILD_SHARED_LIBS=ON -DNNPACK_LIBRARY_TYPE=shared -DCMAKE_POSITION_INDEPENDENT_CODE=ON ..
after make the libnnpack.solinked to dependent lib correctly.
but result after make install show the following

  install git:(master) ✗ ldd lib/libnnpack.so
  linux-vdso.so.1 (0x00007fff515e2000)
  libcpuinfo.so => not found
  libpthreadpool.so => not found
  libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f83221e1000)
  libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8321fef000)
  /lib64/ld-linux-x86-64.so.2 (0x00007f8322243000)