generate_version_code.sh 235 字节
Newer Older
Y
yejianwu 已提交
1 2
#!/bin/bash

L
liuqi 已提交
3 4
CL_KERNEL_DIR_TAG=$1

Y
yejianwu 已提交
5 6 7 8 9 10
CURRENT_DIR=`dirname $0`
source ${CURRENT_DIR}/env.sh

rm -rf ${CODEGEN_DIR}/version
mkdir ${CODEGEN_DIR}/version
bash mace/tools/git/gen_version_source.sh ${CODEGEN_DIR}/version/version.cc || exit 1