代码拉取完成,页面将自动刷新
同步操作将从 芯华章科技股份有限公司/EpicFV 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/bin/bash
if [[ "${EPICFV_HOME}"x == "x" ]]; then
SHELLDIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"
echo "EPIC set env: export EPICFV_HOME=$SHELLDIR"
export EPICFV_HOME=$SHELLDIR
fi
#remove last / in EPIC_HOME if exist
if [[ ${EPICFV_HOME} == */ ]]; then
export EPICFV_HOME=${EPICFV_HOME%?}
fi
export EPIC_FV_LOG="true"
export LD_LIBRARY_PATH="$EPICFV_HOME/binary/share/openmpi/lib:$LD_LIBRARY_PATH"
export OPAL_PREFIX="$EPICFV_HOME/binary/share/openmpi"
export PATH="$EPICFV_HOME/binary/bin:$PATH"
NUM_CORE=`grep -c ^processor /proc/cpuinfo`
IS_WORKER=""
WORKERS="4"
#if [ "$NUM_CORE" -lt "$WORKERS" ]; then
# WORKERS=$NUM_CORE
#fi
IS_FILE=""
FILE=""
IS_SESSION=""
IS_RESET=""
for arg; do
case "$arg" in
-worker) IS_WORKER="t" ;;
-f) IS_FILE="t" ;;
-session) IS_SESSION="t" ;;
-reset) IS_RESET="t" ;;
*)
if [ "${IS_WORKER}"x != "x" ]; then
WORKERS=$arg;
IS_WORKER="";
fi
if [ "${IS_FILE}"x != "x" ]; then
FILE=$arg;
IS_FILE="";
fi
if [ "${IS_SESSION}"x != "x" ]; then
export EPICFV_SESSION=$arg;
IS_SESSION="";
fi
esac
done
if [ "${IS_RESET}"x != "x" ]; then
rm -rf *_db;
rm -rf *_db.bak;
exit 0
fi
if [ "${FILE}"x != "x" ]; then
$EPICFV_HOME/binary/epic_fv_start $WORKERS $FILE
else
$EPICFV_HOME/binary/epic_fv_start
fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。