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

Use linkstatic=1 by default in binaries and libraries. #5155

Merged
merged 1 commit into from
Feb 13, 2017

Conversation

david-german-tri
Copy link
Contributor

@david-german-tri david-german-tri commented Feb 13, 2017

Contributes to #5104.

Supersedes #5153.


This change is Reviewable

@jwnimmer-tri
Copy link
Collaborator

:lgtm:


Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.


tools/drake.bzl, line 66 at r1 (raw file):

    By default, we prefer to link static libraries whenever they are available.
    This default could be revisited if binary size becomes a concern.

FYI Ah, this was already the Bazel default. I hadn't previously realized that. (I am fine re-defaulting it here as in this PR; I think mentioning it here will help future readers.)


Comments from Reviewable

@david-german-tri
Copy link
Contributor Author

Bazel builds pass. Override-merging.


Review status: all files reviewed at latest revision, all discussions resolved, some commit checks pending.


Comments from Reviewable

@david-german-tri david-german-tri merged commit c1ddcfe into RobotLocomotion:master Feb 13, 2017
david-german-tri added a commit to david-german-tri/drake that referenced this pull request Feb 13, 2017
david-german-tri added a commit to david-german-tri/drake that referenced this pull request Feb 13, 2017
kunimatsu-tri pushed a commit to kunimatsu-tri/drake that referenced this pull request Mar 1, 2017
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