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

Add static link packages #759

Merged

Conversation

thomas-roos
Copy link
Member

As the “NVIDIA JETPACK” is based on Ubuntu 22.04. the approach is to use the packages that are available (without adding some backport package soures list) and just compile the packages from source that are missing statically.  Use that static libs to link gg-lite static, but also link against shared libs that are available in the correct version. To do this I did create a container especially for this use case. Also some CMmakeLists improvements needs to be done to enable that static linking for just those libs that are not available with Ubuntu 22.04.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

As the “NVIDIA JETPACK” is based on Ubuntu 22.04. the approach is to use the packages that are available
(without adding some backport package soures list) and just compile the packages from source that are missing statically. 
Use that static libs to link gg-lite static, but also link against shared libs that are available in the correct version.
To do this I did create a container especially for this use case.
Also some CMmakeLists improvements needs to be done to enable that static linking for just those libs that are not available with Ubuntu 22.04.
@thomas-roos thomas-roos marked this pull request as draft December 18, 2024 16:02
@thomas-roos thomas-roos marked this pull request as ready for review December 19, 2024 12:12
@thomas-roos
Copy link
Member Author

tested it

@thomas-roos thomas-roos enabled auto-merge (squash) December 19, 2024 15:25
@thomas-roos thomas-roos disabled auto-merge December 19, 2024 15:27
@thomas-roos thomas-roos enabled auto-merge (squash) December 19, 2024 15:28
@thomas-roos thomas-roos merged commit 8fea9e7 into aws-greengrass:main Dec 19, 2024
17 checks passed
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

Successfully merging this pull request may close these issues.

2 participants