Skip to content

build: fix libtool label for bazel 3.7+#1234

Merged
goaway merged 1 commit intoenvoyproxy:mainfrom
keith:ks/build-fix-libtool-label-for-bazel-3.7
Feb 6, 2021
Merged

build: fix libtool label for bazel 3.7+#1234
goaway merged 1 commit intoenvoyproxy:mainfrom
keith:ks/build-fix-libtool-label-for-bazel-3.7

Conversation

@keith
Copy link
Copy Markdown
Member

@keith keith commented Jan 12, 2021

This tool was meant to be a bazel implementation detail so its public
accessor was removed in bazelbuild/bazel@f8b51ff

Using the cc API from bazel we can dynamically get this. This is still a
bit of a hack because we're writing our own args for this. We might be
able to fetch the args, based on bazel's crosstool, dynamically as well,
but ideally we remove this rule instead.

Fixes #1233

Signed-off-by: Keith Smiley keithbsmiley@gmail.com

This tool was meant to be a bazel implementation detail so its public
accessor was removed in bazelbuild/bazel@f8b51ff

Using the cc API from bazel we can dynamically get this. This is still a
bit of a hack because we're writing our own args for this. We might be
able to fetch the args, based on bazel's crosstool, dynamically as well,
but ideally we remove this rule instead.

Fixes envoyproxy#1233

Signed-off-by: Keith Smiley <keithbsmiley@gmail.com>
@keith keith mentioned this pull request Jan 12, 2021
@keith keith requested review from junr03 and rebello95 January 12, 2021 22:07
@keith
Copy link
Copy Markdown
Member Author

keith commented Jan 12, 2021

we should verify it fixes that issue with 3.7 before merging (although I think it'll be compatible before too)

@goaway
Copy link
Copy Markdown
Contributor

goaway commented Feb 6, 2021

Confirmed Android and iOS distros both build on bazel 3.7.2 with this change.

@goaway goaway marked this pull request as ready for review February 6, 2021 05:12
@goaway goaway merged commit 1978d6d into envoyproxy:main Feb 6, 2021
@keith keith deleted the ks/build-fix-libtool-label-for-bazel-3.7 branch February 6, 2021 05:19
@goaway
Copy link
Copy Markdown
Contributor

goaway commented Feb 6, 2021

Thank you @keith!

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.

bazel 3.7.0 iOS issues

3 participants