1 Star 0 Fork 23

ruki/maple_engine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
envsetup.sh 1.34 KB
一键复制 编辑 原始数据 按行查看 历史
Maple_YZhang 提交于 2020-07-20 14:40 +08:00 . Initial commit for Maple engine
#!/bin/echo This script should be sourced in a shell. Execute command: source
#
# Copyright (C) [2020] Futurewei Technologies, Inc. All rights reverved.
#
# Licensed under the Mulan Permissive Software License v2.
# You can use this software according to the terms and conditions of the MulanPSL - 2.0.
# You may obtain a copy of MulanPSL - 2.0 at:
#
# https://opensource.org/licenses/MulanPSL-2.0
#
# 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 MulanPSL - 2.0 for more details.
#
if [ "${BASH_SOURCE[0]}" -ef "$0" ]; then
echo "This script should be sourced in a bash shell, not executed directly"
exit 1
fi
export MAPLE_ROOT=$(realpath $(dirname ${BASH_SOURCE[0]}))
export MAPLE_COMPILER_ROOT="$MAPLE_ROOT/../mapleall"
export MAPLE_ENGINE_ROOT="$MAPLE_ROOT/maple_engine"
export MAPLE_RUNTIME_ROOT="$MAPLE_ROOT/maple_runtime"
export MAPLE_BUILD_ROOT="$MAPLE_ROOT/maple_build"
export MAPLE_BUILD_TOOLS="$MAPLE_BUILD_ROOT/tools"
export MAPLE_TARGET_ARCH="x86_64"
export JAVA_CORE_LIB="libcore"
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
if [ ! -d "$JAVA_HOME" ]; then
echo "Error: directory $JAVA_HOME not found"
echo "Please install the openjdk-8-jdk-headless package"
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/waruqi/maple_engine.git
git@gitee.com:waruqi/maple_engine.git
waruqi
maple_engine
maple_engine
master

搜索帮助