BazelCurve 编译 Curve bazel 编译分享 程义 - 存储计算部 2022 年 11 月 11 日 C ur v e1 升级 bazel 到 4.2.2 2 支持 Debian9 、 Debian10 、 Debian11 3 支持 gcc clang 更新内容 Curve1 编译 Debian11-Dockerfile .bazelrc bazelrc bazel 版本: 4.2.2 ( bazelisk) docker run -v $(pwd):/curve -it opencurvedocker/curve-base:build-debian11 cd /curve/ # 使用 gcc 编译 bazel build –config=gcc7-later … # use '-faligned-new' to enable over-aligned new support # 使用 clang 编译 CC=clang CXX=clang++ bazel build …2 制作镜像 docker run -v $(pwd):/curve -v /root/.cache/bazel:/root/.cache/bazel -it opencurvedocker/curve-base:build-debian11 # 容器内 cd0 码力 | 6 页 | 4.69 MB | 6 月前3
CurveFs 用户权限系统调研1 0 13:44 pts/213 00:00:00 ./bazel-bin/curvefs/src/space_allocator/curve_fs_space_allocator_main wanghai+ 2641514 1 0 13:44 pts/213 00:00:00 ./bazel-bin/curvefs/src/metaserver/curvefs_metaserver wanghai+ 2641515 1 0 13:44 pts/213 00:00:00 ./bazel-bin/curvefs/src/mds/curvefs_mds wanghai+ 2642837 2589230 0 13:47 pts/156 00:00:00 ./bazel-bin/curvefs/src/client/fuse_client -f -o volume=/fs 看本地文件系统默认是多用户共享的,但是fuse作为用户态文件系统默认访问权限是文件系统的拥有者,可以通过allow_other实现共享。© XXX Page 7 of 33 strace ./bazel-bin/curvefs/src/client/fuse_client -f -o volume=/fs -o allow_other -o user=test -o conf=./curvefs0 码力 | 33 页 | 732.13 KB | 6 月前3
Comprehensive Rust(简体中文) 202412Soong fills that gap. • Soong 与 Bazel 有许多相似之处,后者是 Blaze 的开源变体(在 google3 中使用)。 • 我们计划逐渐在 Android,ChromeOS 和 Fuchsia 中采用 Bazel 进行开发。 • 对所有 Rust 操作系统开发者而言,了解类似 Bazel 的构建规都很有用。 • 趣味小知识:《星际迷航》中的数据是 Soong interpreted language). – 如要加入 Rust 生态系统,必须使用 Cargo 等标准 Rust 工具。如果希望库获得外部贡献,并且 能够用于除 Chromium 之外(例如用于 Bazel 或 Android/Soong 构建环境)的项目,则应该 使用 Cargo。 • 基于 cargo\ 的 Chromium 相关项目示例: – serde_json_lenient(已在 Google0 码力 | 359 页 | 1.33 MB | 10 月前3
Kotlin 1.9.10 官方文档 中文版
advantage of the new approach is that new compiler plugins can be used with other build systems like Bazel. Here's the list of new compiler plugins we're now publishing to Maven Central: kotlin-atomicfu-compiler-plugin0 码力 | 3753 页 | 29.69 MB | 1 年前3
Kotlin 官方文档中文版 v1.9advantage of the new approach is that new compiler plugins can be used with other build systems like Bazel. Kotlin 1.9.0 72 Here's the list of new compiler plugins we're now publishing to Maven Central:0 码力 | 2049 页 | 45.06 MB | 1 年前3
共 5 条
- 1













