-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Mbedtls 3.6 subslotting #9876
Open
winterheart
wants to merge
4
commits into
Mbed-TLS:mbedtls-3.6
Choose a base branch
from
winterheart:mbedtls-3.6-subslotting
base: mbedtls-3.6
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Mbedtls 3.6 subslotting #9876
winterheart
wants to merge
4
commits into
Mbed-TLS:mbedtls-3.6
from
winterheart:mbedtls-3.6-subslotting
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 tasks
Use standard `CMAKE_INSTALL_INCLUDEDIR` and `CMAKE_INSTALL_LIBDIR` location to define headers and library installation. This variable can be redefined on configuration phase to allow install headers and libraries to different location (like `include/mbedtls3`, Mbed-TLS#8723). Additionally removing explicit permission rules as they may broke proper permissions for system installation (like remove executable bit from libraries). By default CMake sets permissions correctly on all files and directories. See Mbed-TLS#8723 for rationale. Signed-off-by: Azamat H. Hackimov <[email protected]>
Convert main library targets to slottable versions. This allows to install major versions of MbedTLS simultaneously. Dependent packages should use `find_package(MbedTLS 3 [REQUIRED])` and `MbedTLS::<component>` in order to use requested libraries. Signed-off-by: Azamat H. Hackimov <[email protected]>
Convert main library targets to slottable versions. This allows to install major versions of MbedTLS simultaneously. Dependent packages should use `pkg-config --libs --cflags (mbedtls3|mbedx5093|mbedx5093)` in order to use requested libraries. Signed-off-by: Azamat H. Hackimov <[email protected]>
Signed-off-by: Azamat H. Hackimov <[email protected]>
winterheart
force-pushed
the
mbedtls-3.6-subslotting
branch
from
January 5, 2025 17:00
1221602
to
be062f4
Compare
3 tasks
ronald-cron-arm
added
component-platform
Portability layer and build scripts
enhancement
needs-ci
Needs to pass CI tests
size-s
Estimated task size: small (~2d)
priority-medium
Medium priority - this can be reviewed as time permits
labels
Jan 8, 2025
Thank you very much for this contribution. This seems a good improvement and the PR seems in a good shape. I have triggered the CI. |
Regarding to test failures: I can make version suffix addition optional via cmake |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component-platform
Portability layer and build scripts
enhancement
needs-ci
Needs to pass CI tests
priority-medium
Medium priority - this can be reviewed as time permits
size-s
Estimated task size: small (~2d)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR allows to install major versions of MbedTLS simultaneously.
Dependent packages should use
find_package(MbedTLS 3 [REQUIRED])
andMbedTLS::<component>
in order to use requested libraries. Packages that relies on pkg-config output, should usepkg-config --libs --cflags (mbedtls3|mbedx5093|mbedx5093)
output in order to discover actual library names and include paths.Fixes #8723
PR checklist
Please remove the segment/s on either side of the | symbol as appropriate, and add any relevant link/s to the end of the line.
If the provided content is part of the present PR remove the # symbol.
Notes for the submitter
Please refer to the contributing guidelines, especially the
checklist for PR contributors.
Help make review efficient: