Use system libs for acl and libcap2 on ebclfsa and autosd10 platforms#212
Open
4og wants to merge 1 commit into
Open
Use system libs for acl and libcap2 on ebclfsa and autosd10 platforms#2124og wants to merge 1 commit into
4og wants to merge 1 commit into
Conversation
|
The created documentation from the pull request is available at: docu-html |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request adds support for building against system-installed versions of the
aclandlibcap2libraries when specific Bazel platform constraints are set. It introduces new configuration settings and updates the build rules to allow for selection between system and bundled versions of these libraries.Build system enhancements:
ebclfsaandautosd10) and ause_system_libsconfig setting group inthird_party/BUILDto enable conditional use of system libraries based on Bazel platform constraints.Library selection improvements:
third_party/acl/BUILD, added acc_librarytarget (acl_system) that links against the systemacllibrary (-lacl), and updated theaclalias to select this target whenuse_system_libsis enabled.third_party/libcap2/BUILD, added acc_librarytarget (libcap2_system) that links against the systemlibcap2library (-lcap), and updated thelibcap2alias to select this target whenuse_system_libsis enabled.