未验证 提交 7a842019 编写于 作者: W wanderingbort 提交者: GitHub

Merge pull request #1504 from pacificcode/eosio_build_amazon_rtti

EOSIO build amazon, RTTI support
......@@ -74,6 +74,7 @@
CMAKE=${HOME}/opt/cmake/bin/cmake
CXX_COMPILER=g++
C_COMPILER=gcc
export LLVM_DIR=${HOME}/opt/wasm/lib/cmake/llvm
;;
*)
printf "\n\tUnsupported Linux Distribution. Exiting now.\n\n"
......
......@@ -28,7 +28,7 @@
exit 1
fi
if [ $DISK_AVAIL -lt 100 ]; then
if [ $DISK_AVAIL -lt 20 ]; then
printf "\tYou must have at least 100GB of available storage to install EOSIO.\n"
printf "\texiting now.\n"
exit 1
......@@ -186,7 +186,7 @@
mkdir build 2>/dev/null
cd build
$CMAKE -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=${HOME}/opt/wasm \
-DLLVM_TARGETS_TO_BUILD= -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly \
-DLLVM_ENABLE_RTTI=1 -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly \
-DCMAKE_BUILD_TYPE=Release ../
if [ $? -ne 0 ]; then
printf "\tError compiling LLVM and clang with EXPERIMENTAL WASM support.\n"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册