This is an automated email from the ASF dual-hosted git repository. jiafengzheng 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 62f4d7a563e fix 62f4d7a563e is described below commit 62f4d7a563e143a110943e6fce52233e26abf8e3 Author: jiafeng.zhang <zhang...@gmail.com> AuthorDate: Mon Jul 25 17:51:13 2022 +0800 fix --- docs/install/source-install/compilation.md | 20 +++++++++++--------- .../current/install/source-install/compilation.md | 10 ++++++---- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/docs/install/source-install/compilation.md b/docs/install/source-install/compilation.md index 42176175ba1..392d63b1352 100644 --- a/docs/install/source-install/compilation.md +++ b/docs/install/source-install/compilation.md @@ -129,15 +129,17 @@ This document focuses on how to code Doris through source code. After compilation, the output files are in the `output/` directory. > **Note:** - > - > If you are using `build-env-for-0.15.0` or `build-env-for-1.0.0` for the first time, use the following command when compiling: - > - > `sh build.sh --clean --be --fe --ui ` - > `build-env-ldb-toolchain-latest` and later, use the following command: - > `sh build --clean --be --fe` - > - > This is because from build-env-for-0.15.0, we upgraded thrift (0.9 -> 0.13), you need to use the --clean command to force the use of the new version of thrift to generate code files, otherwise incompatible code will appear. - + > + > If you are using `build-env-for-0.15.0` or `build-env-for-1.0.0` for the first time, use the following command when compiling: + > + > `sh build.sh --clean --be --fe --ui ` + > + > `build-env-ldb-toolchain-latest` and later, use the following command: + > + > `sh build --clean --be --fe` + > + > This is because from build-env-for-0.15.0, we upgraded thrift (0.9 -> 0.13), you need to use the --clean command to force the use of the new version of thrift to generate code files, otherwise incompatible code will appear. + After compilation, the output file is in the `output/` directory. ### Self-compiling Development Environment Mirror diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/source-install/compilation.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/source-install/compilation.md index 34896e3bdd5..7535699cdac 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/source-install/compilation.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/source-install/compilation.md @@ -131,11 +131,13 @@ under the License. > >如果你是第一次使用 `build-env-for-0.15.0` 或 `incubator-doris:build-env-for-1.0.0` 的版本,第一次编译的时候要使用如下命令: > - > `sh build.sh --clean --be --fe --ui` - > `build-env-ldb-toolchain-latest` 及之后的版本,使用如下命令: - > `sh build --clean --be --fe` + >`sh build.sh --clean --be --fe --ui` > - > 这是因为 build-env-for-0.15.0 版本镜像升级了 thrift(0.9 -> 0.13),需要通过 --clean 命令强制使用新版本的 thrift 生成代码文件,否则会出现不兼容的代码。 + >`build-env-ldb-toolchain-latest` 及之后的版本,使用如下命令: + > + >`sh build --clean --be --fe` + > + >这是因为 build-env-for-0.15.0 版本镜像升级了 thrift(0.9 -> 0.13),需要通过 --clean 命令强制使用新版本的 thrift 生成代码文件,否则会出现不兼容的代码。 编译完成后,产出文件在 `output/` 目录中。 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org