Comments (3)
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.
Yeah the benchmark is working now. Thank you so much and happy new year!
from fleetbench.
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)
- Bazel invokes `external/local_config_cc/None` as the linker HOT 1
- Fidelity about fleetbench HOT 1
- compression_benchmark corpus generation not consistent HOT 2
- Proto benchmark finer details
- Issue while bulding KMaxStackDepth HOT 3
- Issue with libpfm during bazel run --config=opt fleetbench/tcmalloc:empirical_driver HOT 2
- Error while running the tcmalloc/empirical . bazel run --config=opt fleetbench/tcmalloc:empirical_driver HOT 2
- compile fleetbench/tcmalloc:empirical_driver failed HOT 1
- C++14 requirement error using Bazel 6.3.2 and earlier HOT 1
- libc output - time_unit is ns instead of seconds HOT 1
- Provide a way to bench memory allocators HOT 1
- Question about glibc version HOT 1
- Generation of populate_protos.h HOT 3
- dataset and micro-benchmark support HOT 1
- Build fleetbench failed as no permission with Bazel 5.4.0 HOT 8
- Use own version of protobuf locally HOT 5
- Fleetbench-proto build fails with Clang+ThinLTO HOT 9
- FDO build failing due to missing bazel_tools HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fleetbench.