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

yocto: Adds reference to local build sysroot into .cmake file #21

Open
phako opened this issue Nov 5, 2022 · 1 comment
Open

yocto: Adds reference to local build sysroot into .cmake file #21

phako opened this issue Nov 5, 2022 · 1 comment

Comments

@phako
Copy link
Member

phako commented Nov 5, 2022

bitbake sets up a local compilation sysroot for its packages. We then hardcode the path to libatomic into our .cmake.

If that package is moved into the shared state of the build and later used to build another package, the private sysroot reference is imported into the build of the dependency, and the library is no longer found because the original mini-sysroot was already removed

@phako
Copy link
Member Author

phako commented Nov 25, 2022

This might have been caused by the cmake files not being in the correct package. Have not seen it in the new layer. needs a bit more watching, I think, while layer is actually used.

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

1 participant