1 Star 0 Fork 1.4K

hansomboy/OpenArkCompiler

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
BUILD.gn 1.91 KB
一键复制 编辑 原始数据 按行查看 历史
#
# 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("mplverf") {
deps = [ "${MAPLEALL_ROOT}:mplverf" ]
}
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
])
}
}
group("mplsh-lmbc") {
deps = [ "${MAPLEENG_ROOT}/lmbc:mplsh-lmbc" ]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/hansomboy/OpenArkCompiler.git
git@gitee.com:hansomboy/OpenArkCompiler.git
hansomboy
OpenArkCompiler
OpenArkCompiler
master

搜索帮助