Skip to content

Commit

Permalink
Upgrade rules_go to use new go_cross tooling
Browse files Browse the repository at this point in the history
Summary:
This upgrades rules_go and gazelle and switches to using
go_cross for building with different SDKs. This is to prepare for the
switch to go 1.19 in our project.

Test Plan: All existing tests pass.

Reviewers: zasgar, jamesbartlett, oazizi, #third_party_approvers

Reviewed By: zasgar, oazizi, #third_party_approvers

Signed-off-by: Vihang Mehta <[email protected]>

Differential Revision: https://phab.corp.pixielabs.ai/D12009

GitOrigin-RevId: 73a57ace40b1cb2499c2e91e434e40d3c7789d9d
  • Loading branch information
vihangm authored and copybaranaut committed Aug 4, 2022
1 parent f345464 commit e0f435c
Show file tree
Hide file tree
Showing 30 changed files with 658 additions and 535 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,4 @@ Vagrantfile

# Ignore symlink to bazel_output_base/external
external
!bazel/external
9 changes: 9 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,15 @@ go_download_sdk(
version = "1.17.11",
)

go_download_sdk(
name = "go_sdk_1_18",
version = "1.18.5",
)

go_download_sdk(
name = "go_sdk_1_19",
version = "1.19",
)

pip_parse(
name = "amqp_gen_reqs",
Expand Down
335 changes: 0 additions & 335 deletions bazel/external/rules_go.patch

This file was deleted.

Loading

0 comments on commit e0f435c

Please sign in to comment.