未验证 提交 5520fce3 编写于 作者: K Kevin Heifner 提交者: GitHub

Merge pull request #1595 from EOSIO/linux-mint-support

Add support for Linux Mint (as an ubuntu variant) to the build scripts
......@@ -68,6 +68,11 @@
C_COMPILER=gcc
export LLVM_DIR=${HOME}/opt/wasm/lib/cmake/llvm
;;
"Linux Mint")
FILE=${WORK_DIR}/scripts/eosio_build_ubuntu.sh
CXX_COMPILER=clang++-4.0
C_COMPILER=clang-4.0
;;
"CentOS Linux")
FILE=${WORK_DIR}/scripts/eosio_build_centos.sh
export CMAKE=${HOME}/opt/cmake/bin/cmake
......
......@@ -24,11 +24,22 @@
exit 1
fi
if [ $OS_MIN -lt 4 ]; then
printf "\tYou must be running Ubuntu 16.04.x or higher to install EOSIO.\n"
printf "\tExiting now.\n"
exit 1
fi
case $OS_NAME in
"Linux Mint")
if [ $OS_MAJ -lt 18 ]; then
printf "\tYou must be running Linux Mint 18.x or higher to install EOSIO.\n"
printf "\tExiting now.\n"
exit 1
fi
;;
"Ubuntu")
if [ $OS_MIN -lt 4 ]; then
printf "\tYou must be running Ubuntu 16.04.x or higher to install EOSIO.\n"
printf "\tExiting now.\n"
exit 1
fi
;;
esac
if [ $DISK_AVAIL -lt $DISK_MIN ]; then
printf "\tYou must have at least ${DISK_MIN}GB of available storage to install EOSIO.\n"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册