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

.pc files are created with the name of the platform #59

Open
MarcTreySonos opened this issue Apr 13, 2018 · 2 comments
Open

.pc files are created with the name of the platform #59

MarcTreySonos opened this issue Apr 13, 2018 · 2 comments

Comments

@MarcTreySonos
Copy link
Contributor

MarcTreySonos commented Apr 13, 2018

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
@faisal00813
Copy link

@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

@MarcTreySonos
Copy link
Contributor Author

MarcTreySonos commented Jun 28, 2018

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

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

No branches or pull requests

3 participants