From 14d8d9a4af1c5ccca881e5767bad4f706085abec Mon Sep 17 00:00:00 2001 From: shining Date: Thu, 5 Mar 2020 11:05:43 +0800 Subject: [PATCH] Update the DevelopmentPreparation The build system add the build/config.gni to store the toolchain dir, so update the DevelopmentPreparation doc to use the build/config.gni instead of the build/config/BUILDCONFIG.gn. --- doc/cn/DevelopmentPreparation.md | 2 +- doc/en/DevelopmentPreparation.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/cn/DevelopmentPreparation.md b/doc/cn/DevelopmentPreparation.md index ead71c72a7..16f0347221 100644 --- a/doc/cn/DevelopmentPreparation.md +++ b/doc/cn/DevelopmentPreparation.md @@ -24,7 +24,7 @@ sudo apt-get -y install gcc-5-aarch64-linux-gnu g++-5-aarch64-linux-gnu 下载**clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-16.04** LLVM下载地址:http://releases.llvm.org/download.html#8.0.0 -放置到`openarkcompiler/tools`目录,打开`openarkcompiler/build/config/BUILDCONFIG.gn`文件,将`GN_C_COMPILER`、`GN_CXX_COMPILER`和`GN_AR_COMPILER`三个变量配置为Clang编译器所在路径,例如: +放置到`openarkcompiler/tools`目录,打开`openarkcompiler/build/config.gni`文件,将`GN_C_COMPILER`、`GN_CXX_COMPILER`和`GN_AR_COMPILER`三个变量配置为Clang编译器所在路径,例如: ``` GN_C_COMPILER = "${MAPLE_ROOT}/tools/clang_llvm-8.0.0-x86_64-linux-gnu-ubuntu-16.04/bin/clang" diff --git a/doc/en/DevelopmentPreparation.md b/doc/en/DevelopmentPreparation.md index c301df2924..bc1c900ba8 100644 --- a/doc/en/DevelopmentPreparation.md +++ b/doc/en/DevelopmentPreparation.md @@ -24,7 +24,7 @@ sudo apt-get -y install gcc-5-aarch64-linux-gnu g++-5-aarch64-linux-gnu Download **clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-16.04** LLVM download address: http://releases.llvm.org/download.html#8.0.0 -Place the downloaded files in the `openarkcompiler/tools` directory, open the `openarkcompiler/build/config/BUILDCONFIG.gn` file, and set the three variables `GN_C_COMPILER`, `GN_CXX_COMPILER`, and `GN_AR_COMPILER` to the path where Clang is located. For example: +Place the downloaded files in the `openarkcompiler/tools` directory, open the `openarkcompiler/build/config.gni` file, and set the three variables `GN_C_COMPILER`, `GN_CXX_COMPILER`, and `GN_AR_COMPILER` to the path where Clang is located. For example: ``` GN_C_COMPILER = "${MAPLE_ROOT}/tools/clang_llvm-8.0.0-x86_64-linux-gnu-ubuntu-16.04/bin/clang" -- Gitee