dinghy icon indicating copy to clipboard operation
dinghy copied to clipboard

.pc files are created with the name of the platform

Open MarcTreySonos opened this issue 6 years ago • 2 comments

they should be named against the libraries instead

steps to reproduce :

  • create a platform definition named device
  • create an overlay named 'mylib' with no *.pc and just one lib
  • watch dinghy generating a pc for named device.pc instead of mylib.pc

mitigation :

  • always create a pc file for each overlay
  • renamed and move the generated pc files to the overlay

MarcTreySonos avatar Apr 13 '18 15:04 MarcTreySonos

@mtrey Can you please post your directory structure of the overlays and the .pc files. I am facing a similar issue and cant get around it. TIA

faisal00813 avatar Jun 28 '18 06:06 faisal00813

here is the correct structure

picopi platform definition in .dinghy/dinghy.toml

[platforms.picopi]
rustc_triple='armv7-unknown-linux-gnueabihf'

and the overlay for the platform picopi

find .dinghy/overlay/picopi

.dinghy/overlay/picopi/tensorflow
.dinghy/overlay/picopi/tensorflow/tensorflow.pc
.dinghy/overlay/picopi/tensorflow/libtensorflow.so

MarcTreySonos avatar Jun 28 '18 07:06 MarcTreySonos