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

[bazel] Improve liblldb building #89095

Merged
merged 2 commits into from
Apr 17, 2024

Conversation

keith
Copy link
Member

@keith keith commented Apr 17, 2024

On Linux using --version-script doesn't force loading of the underlying archives that contain the symbols. By setting alwayslink=True on the API cc_library we virtually get this behavior. This also allows downstream users to use the exports files used by cmake. We could build more configurability into this but there are also a lot of possible variations users might want.

On Linux using --version-script doesn't force loading of the underlying
archives that contain the symbols. By setting alwayslink=True on the API
cc_library we virtually get this behavior. This also allows downstream
users to use the exports files used by cmake. We could build more
configurability into this but there are also a lot of possible
variations users might want.
@keith keith requested a review from rupprecht as a code owner April 17, 2024 16:08
@llvmbot llvmbot added the bazel "Peripheral" support tier build system: utils/bazel label Apr 17, 2024
@keith keith requested a review from aaronmondal April 17, 2024 16:10
@keith keith merged commit 1b87418 into llvm:main Apr 17, 2024
4 checks passed
@keith keith deleted the ks/bazel-improve-liblldb-building branch April 17, 2024 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bazel "Peripheral" support tier build system: utils/bazel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants