Skip to content

build: update bazel, upstream envoy, & ios rules#958

Merged
rebello95 merged 11 commits intomainfrom
rules-apple
Jul 22, 2020
Merged

build: update bazel, upstream envoy, & ios rules#958
rebello95 merged 11 commits intomainfrom
rules-apple

Conversation

@rebello95
Copy link
Contributor

@rebello95 rebello95 commented Jul 15, 2020

Signed-off-by: Michael Rebello me@michaelrebello.com

Signed-off-by: Michael Rebello <me@michaelrebello.com>
buildbreaker
buildbreaker previously approved these changes Jul 15, 2020
Comment on lines +139 to +140
_allowlist_function_transition = attr.label(
default = "@build_bazel_rules_apple//tools/allowlists/function_transition_allowlist",

Choose a reason for hiding this comment

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

did bazel change these?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason for hiding this comment

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

🙌

Signed-off-by: Michael Rebello <me@michaelrebello.com>
Signed-off-by: Michael Rebello <me@michaelrebello.com>
Signed-off-by: Michael Rebello <me@michaelrebello.com>
@rebello95
Copy link
Contributor Author

Need Bazel 3.4.1: envoyproxy/envoy#12123

@rebello95 rebello95 changed the title build: update rules_apple build: update bazel & ios rules Jul 16, 2020
@rebello95 rebello95 added the work in progress Not yet ready for review label Jul 16, 2020
Signed-off-by: Michael Rebello <me@michaelrebello.com>
Signed-off-by: Michael Rebello <me@michaelrebello.com>
@rebello95 rebello95 marked this pull request as ready for review July 20, 2020 16:51
Signed-off-by: Michael Rebello <me@michaelrebello.com>

Co-authored-by: Keith Smiley <keithbsmiley@gmail.com>
keith
keith previously approved these changes Jul 21, 2020
Signed-off-by: Michael Rebello <me@michaelrebello.com>
Signed-off-by: Michael Rebello <me@michaelrebello.com>
Signed-off-by: Michael Rebello <me@michaelrebello.com>
@rebello95 rebello95 changed the title build: update bazel & ios rules build: update bazel, upstream envoy, & ios rules Jul 21, 2020
@rebello95 rebello95 requested review from buildbreaker and keith July 21, 2020 18:43
keith
keith previously approved these changes Jul 21, 2020
goaway
goaway previously approved these changes Jul 21, 2020
Copy link
Contributor

@goaway goaway left a comment

Choose a reason for hiding this comment

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

Nice, looks good.

@buildbreaker
Copy link

rerunning failed ci

@rebello95
Copy link
Contributor Author

Looks like this is a legit failure when building the ObjC app:

Execution platform: @local_config_platform//:host
examples/objective-c/hello_world/ViewController.m:1:9: fatal error: 'Envoy/Envoy-Swift.h' file not found
#import <Envoy/Envoy-Swift.h>
        ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
Target //examples/objective-c/hello_world:app failed to build

@keith do you happen to know of anything off the top of your head that may have broken our header setup with the rules updates?

@keith
Copy link
Member

keith commented Jul 21, 2020

does the framework this produces have one at all after this change?

@rebello95
Copy link
Contributor Author

Yep, it's present in dist/Envoy.framework/Headers/Envoy-Swift.h. Looks fine to me too 🤔

@keith
Copy link
Member

keith commented Jul 22, 2020

how about the module map?

Signed-off-by: Michael Rebello <me@michaelrebello.com>
@rebello95 rebello95 dismissed stale reviews from goaway and keith via 2f47a68 July 22, 2020 00:47
@rebello95
Copy link
Contributor Author

Resolved with magic from @keith, more context: bazelbuild/bazel#10674 (comment)

@rebello95 rebello95 requested a review from keith July 22, 2020 00:56
@rebello95 rebello95 removed the work in progress Not yet ready for review label Jul 22, 2020
@rebello95 rebello95 merged commit c6e1af6 into main Jul 22, 2020
@rebello95 rebello95 deleted the rules-apple branch July 22, 2020 17:38
goaway added a commit that referenced this pull request Jul 30, 2020
goaway added a commit that referenced this pull request Jul 30, 2020
This reverts commit c6e1af6.

Signed-off-by: Mike Schore <mike.schore@gmail.com>
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.

4 participants