Skip to content

Bump Bazel version to 2.0.0 #12

Closed

Description

@Yi-Tseng

The current Bazel master version is 1.0.0 rc5. We would like to upgrade the build system from 0.23.2 to 1.0.0 when it released.

Dependencise which supports Bazel >= 1.0.0

  • com_github_grpc_grpc: 1.2.6 supports Bazel 1.0.0
  • com_google_protobuf: Can be installed from grpc_deps
  • com_google_googleapis: Can be installed from grpc_deps
  • cython: Can be installed from grpc_deps
  • net_zlib: can be installed from grpc_deps
  • com_google_absl: lts_2019_08_08 branch works with Bazel 1.2.1
  • com_googlesource_code_cctz: current version works with Bazel 1.2.1 (b4935eef53820cf1643355bb15e013b4167a2867)
  • com_github_google_glog: current version works with Bazel 1.2.1 (ba8a9f6952d04d1403b97df24e6836227751454e)
  • com_github_gflags_gflags: current version works with Bazel 1.2.1 (28f50e0fed19872e0fd50dd23ce2ee8cd759338e)
  • com_google_googletest: current version works with Bazel 1.2.1 (3525e3984282c827c7207245b1d4a47f4eaf3c91)
  • com_googlesource_code_re2: current version works with Bazel 1.2.1 (be0e1305d264b2cbe1d35db66b8c5107fc2a727e)
  • com_github_opennetworkinglab_fabric_p4test: should be able to support new Bazel version since it only has a single file-group

Will support soon

  • io_bazel_rules_python: 0.0.2 supports Bazel 2.0

Build file need to be updated

  • com_github_p4lang_p4c: We are using our own build file
  • com_github_p4lang_p4runtime: We are using our own build file
  • com_github_openconfig_gnmi_proto: We are using our own build file
  • com_github_openconfig_gnoi: We are using our own build file
  • com_github_openconfig_public: We are using our own build file
  • com_github_openconfig_hercules: We are using our own build file
  • com_github_yang_models_yang: We are using our own build file
  • com_github_systemd_systemd: We are using our own build file
  • com_github_opennetworkinglab_sdklt: we are using our own build file

Doesn't support, and there is no plan yet

  • judy: build file from PI, not support
  • build_stack_rules_proto: Doesn't support 1.0.0
  • com_github_p4lang_PI: Doesn't support 1.0.0
  • com_github_p4lang_PI_bf: Doesn't support 1.0.0

Can be removed

  • boringssl: chromium-stable-with-bazel branch doesn't support it, but can be removed since no one is depend on it

Need to be upgraded

  • com_github_nelhage_rules_boost: Need to bump to latest version
  • rules_cc: need to bump to latest version
  • bazel_latex: need to upgrade to v0.19 (tested with Bazel 2.0.0)
  • io_bazel_rules_go: bump to latest release (v0.20.3)
  • bazel_gazelle: bump to v0.19.1

Activity

  1. added
    enhancement
    on Oct 9, 2019
  2. changed the title [-]Dump Bazel version to 1.0.0[/-] [+]Bump Bazel version to 1.0.0[/+] on Oct 9, 2019
  3. changed the title [-]Bump Bazel version to 1.0.0[/-] [+]Bump Bazel version to 1.x.x[/+] on Dec 19, 2019
  4. changed the title [-]Bump Bazel version to 1.x.x[/-] [+]Bump Bazel version to 2.0.0[/+] on Jan 11, 2020
  5. added 2 commits that reference this issue on Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions