Giter Site home page Giter Site logo

Comments (3)

liyuying0000 avatar liyuying0000 commented on May 21, 2024

Hi, @DouglasYu,

Happy new year! The reason for this failure is the latest version of Bazel changed from 5.4 to 6.0. This is a known issue in bazel, please see this link for details, which recommends downgrading to 5.4 as a workaround.

If you already have Bazel 6.0.0 installed, running following commands (on Linux) will allow you to run Bazel 5.4.0:

sudo apt install bazel-5.4.0
This installs Bazel 5.4.0 as /usr/bin/bazel-1.0.0 on your system.

Then, you can set bazel to a specific version by creating a symlink:
sudo ln -sf /usr/bin/bazel-5.4.0 /usr/bin/bazel

bazel version should show current version is set to 5.4.0 successfully:

Build label: 5.4.0
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Dec 15 16:14:25 2022 (1671120865)
Build timestamp: 1671120865
Build timestamp as int: 1671120865

You should be able to build and run the benchmark now :)

from fleetbench.

DouglasYu avatar DouglasYu commented on May 21, 2024

Yeah the benchmark is working now. Thank you so much and happy new year!

from fleetbench.

liyuying0000 avatar liyuying0000 commented on May 21, 2024

Some quick updates -- this issue is fixed in d765040. Fleetbench can now build and run with bazel 6.0.0.

from fleetbench.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.