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: branch cc_configure from bazel repo to support libstdc++/libgc… #782

Merged
merged 1 commit into from
Apr 19, 2017

Conversation

htuch
Copy link
Member

@htuch htuch commented Apr 18, 2017

…c static linking.

We import cc_configure.bzl from https://github.com/bazelbuild/bazel at d6fec93 in this patch.
This allows us to workaround bazelbuild/bazel#2840 (see the header comment for further details).

@mattklein123
Copy link
Member

If possible can you split this into two PRs:

  1. Just to add the raw file from upstream and hook it up.
  2. To actually make the modifications.

It will be easier to review, and easier to rebase if we have to merge upstream later.

htuch added a commit to htuch/envoy that referenced this pull request Apr 18, 2017
… at d6fec93.

This is a clean import to support making clear what is going on in envoyproxy#782.
mattklein123 pushed a commit that referenced this pull request Apr 18, 2017
… at d6fec93. (#787)

This is a clean import to support making clear what is going on in #782.
…c static linking.

We import cc_configure.bzl from https://github.com/bazelbuild/bazel at d6fec93 in this patch.
This allows us to workaround bazelbuild/bazel#2840 (see the header comment for further details).
@htuch
Copy link
Member Author

htuch commented Apr 18, 2017

Now rebased on top of #787.

if "CC" in repository_ctx.os.environ:
cc_name = repository_ctx.os.environ["CC"].strip()
cc_name = "g++"
if "CXX" in repository_ctx.os.environ:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we need to make sure we set CXX now?

Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

epic hacking

@htuch
Copy link
Member Author

htuch commented Apr 18, 2017 via email

@mattklein123 mattklein123 merged commit cfbafa6 into envoyproxy:master Apr 19, 2017
clnperez pushed a commit to clnperez/envoy that referenced this pull request Mar 28, 2018
… at d6fec93. (envoyproxy#787)

This is a clean import to support making clear what is going on in envoyproxy#782.
clnperez pushed a commit to clnperez/envoy that referenced this pull request Apr 3, 2018
… at d6fec93. (envoyproxy#787)

This is a clean import to support making clear what is going on in envoyproxy#782.
clnperez pushed a commit to clnperez/envoy that referenced this pull request Apr 3, 2018
… at d6fec93. (envoyproxy#787)

This is a clean import to support making clear what is going on in envoyproxy#782.
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