This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new 8bd21d67764 update
community/source-install/compilation-with-ldb-toolchain.md (#2715)
8bd21d67764 is described below
commit 8bd21d67764d35d366dee63a83c23ec52d6f32a8
Author: Pxl <[email protected]>
AuthorDate: Fri Aug 8 10:22:19 2025 +0800
update community/source-install/compilation-with-ldb-toolchain.md (#2715)
## Versions
- [ ] dev
- [ ] 3.0
- [ ] 2.1
- [ ] 2.0
## Languages
- [ ] Chinese
- [ ] English
## Docs Checklist
- [ ] Checked by AI
- [ ] Test Cases Built
---
community/source-install/compilation-with-ldb-toolchain.md | 13 ++++++++-----
.../source-install/compilation-with-ldb-toolchain.md | 11 ++++++++---
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/community/source-install/compilation-with-ldb-toolchain.md
b/community/source-install/compilation-with-ldb-toolchain.md
index 792ff430505..0b55db2bb93 100644
--- a/community/source-install/compilation-with-ldb-toolchain.md
+++ b/community/source-install/compilation-with-ldb-toolchain.md
@@ -24,12 +24,15 @@ specific language governing permissions and limitations
under the License.
-->
-This guide is about how to compile Doris using the LDB Toolchain. This method
serves as a supplement to the Docker compilation approach to help the
developers and users without a Docker environment. The recommended LDB
Toolchain version is 0.19(Robin), which includes clang-16 and gcc-11.
+This guide is about how to compile Doris using the LDB Toolchain. This method
serves as a supplement to the Docker compilation approach to help developers
and users without a Docker environment.
-:::tip
-LDB Toolchain is fully known as Linux Distribution Based Toolchain Generator.
It helps compile modern C++ projects on almost all Linux distributions.
+| Doris Version | Recommended LDB Toolchain Version | Included Compiler
Version |
+| -- | -- | -- |
+| master | 0.25 | clang-20, gcc-15 |
+| 3.1 / 3.0 / 2.1 | 0.19 | clang-17, gcc-13 |
-Special thanks to [Amos Bird](https://github.com/amosbird) for the
contribution.
+:::tip
+LDB Toolchain stands for Linux Distribution Based Toolchain Generator. It
helps compile modern C++ projects on almost all Linux distributions.
:::
## Prepare the compilation environment
@@ -136,7 +139,7 @@ $ USE_AVX2=0 sh build.sh
$ BUILD_TYPE=Debug sh build.sh
```
-This script first compiles the third-party libraries and then the Doris
components (FE, BE, MS). The compilation output can be found in the `output/`
directory. MS stands for Meta Service, which a module of Doris in the
compute-storage decoupled mode. For more information about MS, refer to this
[doc](../../compute-storage-decoupled/compilation-and-deployment).
+This script first compiles the third-party libraries and then the Doris
components (FE, BE, MS). The compilation output can be found in the `output/`
directory. MS stands for Meta Service, which a module of Doris in the
compute-storage decoupled mode. For more information about MS, refer to this
[doc](../../docs/compute-storage-decoupled/compilation-and-deployment.md).
## Pre-compile third-party libraries
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/source-install/compilation-with-ldb-toolchain.md
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/source-install/compilation-with-ldb-toolchain.md
index b8bdb5e1f31..fc0ca284012 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/source-install/compilation-with-ldb-toolchain.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/source-install/compilation-with-ldb-toolchain.md
@@ -24,7 +24,12 @@ specific language governing permissions and limitations
under the License.
-->
-本文档主要介绍如何使用 LDB Toolchain 编译 Doris。该方式目前作为 Docker 编译方式的补充,方便没有 Docker
环境的开发者和用户编译 Doris 源码。Doris 目前推荐的 LDB Toolchain 版本为 Robin(0.19), 其中含有 clang-17 和
gcc-13。
+本文档主要介绍如何使用 LDB Toolchain 编译 Doris。该方式目前作为 Docker 编译方式的补充,方便没有 Docker
环境的开发者和用户编译 Doris 源码。
+
+| Doris 版本 | 推荐 LDB Toolchain 版本 | 包含编译器版本 |
+| -- | -- | -- |
+| master | 0.25 | clang-20, gcc-15 |
+| 3.1 / 3.0 / 2.1 | 0.19 | clang-17, gcc-13 |
:::tip
LDB Toolchain 全称 Linux Distribution Based Toolchain Generator,它有助于在几乎所有 Linux
发行版上编译现代 C++ 项目。
@@ -38,7 +43,7 @@ LDB Toolchain 全称 Linux Distribution Based Toolchain
Generator,它有助于
**1. 下载`ldb_toolchain_gen.sh`**
-可以从[这里](https://github.com/amosbird/ldb_toolchain_gen/releases)下载最新的
`ldb_toolchain_gen.sh`,对于ARM架构,需要下载最新的`ldb_toolchain_gen.aarch64.sh`。该脚本用于生成
LDB Toolchain
+可以从[这里](https://github.com/amosbird/ldb_toolchain_gen/releases)下载对应版本的
`ldb_toolchain_gen.sh`,对于ARM架构,需要下载对应版本的`ldb_toolchain_gen.aarch64.sh`。该脚本用于生成
LDB Toolchain
:::tip
更多信息,可访问 <https://github.com/amosbird/ldb_toolchain_gen>
@@ -137,7 +142,7 @@ $ BUILD_TYPE=Debug sh build.sh
```
该脚本会先编译第三方库,之后再编译 Doris 组件(FE、BE、MS)。编译产出在 `output/` 目录下。
-MS 模块是 doris
存算分离模式依赖的模块,详细说明请参考[此连接](../../../docusaurus-plugin-content-docs/current/compute-storage-decoupled/compilation-and-deployment)
+MS 模块是 doris
存算分离模式依赖的模块,详细说明请参考[此连接](../../../docusaurus-plugin-content-docs/current/compute-storage-decoupled/compilation-and-deployment.md)
## 预编译三方库
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]