From 5c1d8ca29c14d9325a26296dc07ca5d492caebd7 Mon Sep 17 00:00:00 2001 From: xtdumpling <5388186+xtdumpling@user.noreply.gitee.com> Date: Tue, 22 Oct 2019 17:52:33 +0800 Subject: [PATCH] Add step to change the gn and ninja to executable, otherwise make would failed as permission denied. --- doc/Development_Preparation.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/Development_Preparation.md b/doc/Development_Preparation.md index 77a5a93080..11ee3ac4e9 100644 --- a/doc/Development_Preparation.md +++ b/doc/Development_Preparation.md @@ -40,7 +40,14 @@ GN_AR_COMPILER = "${MAPLE_ROOT}/tools/clang_llvm-8.0.0-x86_64-linux-gnu-ubuntu-1 Ninja下载地址:https://github.com/ninja-build/ninja/releases GN下载地址:https://archive.softwareheritage.org/browse/content/sha1_git:2dc0d5b26caef44f467de8120b26f8aad8b878be/raw/?filename=gn -将GN和Ninja可执行程序放置到openarkcompiler/tools目录,打开openarkcompiler/Makefile文件,将GN和NINJA两个变量配置为GN和Ninja可执行程序所在路径。例如: +将GN和Ninja可执行程序放置到openarkcompiler/tools目录,然后修改这两个文件为可执行: +``` +cd openarkcompiler/tools +chmod 777 gn +chmod 777 ninja +``` + +打开openarkcompiler/Makefile文件,将GN和NINJA两个变量配置为GN和Ninja可执行程序所在路径。例如: ``` GN := ${MAPLE_ROOT}/tools/gn/gn -- Gitee