1 Star 0 Fork 1.4K

郝利华 / OpenArkCompiler

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
BUILD.gn 1.77 KB
一键复制 编辑 原始数据 按行查看 历史
BinaryFZ 提交于 2022-04-07 11:14 . sync build system
#
# Copyright (c) [2020] Huawei Technologies Co.,Ltd.All rights reserved.
#
# OpenArkCompiler is licensed under Mulan PSL v2.
# You can use this software according to the terms and conditions of the Mulan PSL v2.
# You may obtain a copy of Mulan PSL v2 at:
#
# http://license.coscl.org.cn/MulanPSL2
#
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR
# FIT FOR A PARTICULAR PURPOSE.
# See the Mulan PSL v2 for more details.
#
group("maple") {
deps = [ "${MAPLEALL_ROOT}:maple" ]
}
group("irbuild") {
deps = [ "${MAPLEALL_ROOT}:irbuild" ]
}
group("hir2mpl") {
deps = [ "${HIR2MPL_ROOT}:hir2mpl" ]
}
group("hir2mplUT") {
deps = [ "${HIR2MPL_ROOT}/test:hir2mplUT" ]
}
group("maple-rt") {
deps = [ "${MAPLE_MRT_ROOT}:maple-rt" ]
}
group("ast2mpl") {
deps = []
if (IS_AST2MPL_EXISTS == "1") {
deps = [ "${AST2MPL_ROOT}/src:ast2mpl" ]
}
}
group("mapleallUT") {
deps = [
"${MAPLEALL_ROOT}/test:mapleallUT",
]
}
group("maplegendef") {
exeTool = "-e" + rebase_path("${GN_BINARY_OUTPUT_DIRECTORY}/maplegen", root_build_dir)
mdDir = "-m" + rebase_path("${MAPLEALL_ROOT}/maple_be/include/ad/cortex_a55", root_build_dir)
outDir = "-o" + rebase_path("${MAPLE_BUILD_OUTPUT}/common/target", root_build_dir)
if (ASAN == 1) {
exec_script("${MAPLEALL_ROOT}/maple_be/mdgen/gendef.py",
[
"-aLD_PRELOAD=${LLVMLIBDIR}/libclang_rt.asan-x86_64.so",
exeTool,
mdDir,
outDir,
])
} else {
exec_script("${MAPLEALL_ROOT}/maple_be/mdgen/gendef.py",
[
exeTool,
mdDir,
outDir
])
}
}
C++
1
https://gitee.com/hao_lihua/OpenArkCompiler.git
git@gitee.com:hao_lihua/OpenArkCompiler.git
hao_lihua
OpenArkCompiler
OpenArkCompiler
master

搜索帮助