Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
YottaChain
YTBP
提交
ad0a1815
Y
YTBP
项目概览
YottaChain
/
YTBP
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Y
YTBP
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
ad0a1815
编写于
3月 30, 2018
作者:
D
Daniel Larimer
提交者:
GitHub
3月 30, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1997 from pacificcode/eosio_build_fedora
Eosio build fedora
上级
2576d29d
d39eae2f
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
11 addition
and
11 deletion
+11
-11
scripts/eosio_build_fedora.sh
scripts/eosio_build_fedora.sh
+11
-11
未找到文件。
scripts/eosio_build_fedora.sh
浏览文件 @
ad0a1815
...
...
@@ -58,8 +58,10 @@
fi
printf
"
\t
${
UPDATE
}
\n
"
DEP_ARRAY
=(
git gcc.x86_64 gcc-c++.x86_64 autoconf automake libtool make cmake.x86_64 bzip2-devel.x86_64 openssl-devel.x86_64 gmp-devel.x86_64 libstdc++-devel.x86_64 python3-devel.x86_64 mongodb.x86_64 mongodb-server.x86_64 libedit.x86_64 ncurses-devel.x86_64 swig.x86_64
)
DCOUNT
=
0
DEP_ARRAY
=(
git gcc.x86_64 gcc-c++.x86_64 autoconf automake libtool make cmake.x86_64
\
bzip2-devel.x86_64 openssl-devel.x86_64 gmp-devel.x86_64 libstdc++-devel.x86_64
\
python3-devel.x86_64 mongodb.x86_64 mongodb-server.x86_64 libedit.x86_64
\
graphviz.x86_64 doxygen.x86_64 ncurses-devel.x86_64 swig.x86_64
)
COUNT
=
1
DISPLAY
=
""
DEP
=
""
...
...
@@ -75,14 +77,13 @@
DISPLAY
=
"
${
DISPLAY
}${
COUNT
}
.
${
DEP_ARRAY
[
$i
]
}
\n\t
"
printf
"
\t
Package
${
DEP_ARRAY
[
$i
]
}
${
bldred
}
NOT
${
txtrst
}
found.
\n
"
let
COUNT++
let
DCOUNT++
else
printf
"
\t
Package
${
DEP_ARRAY
[
$i
]
}
found.
\n
"
continue
fi
done
if
[
${
DCOUNT
}
-ne
0
]
;
then
if
[
${
COUNT
}
-gt
1
]
;
then
printf
"
\n\t
The following dependencies are required to install EOSIO.
\n
"
printf
"
\n\t
$DISPLAY
\n\n
"
printf
"
\t
Do you wish to install these dependencies?
\n
"
...
...
@@ -107,7 +108,7 @@
printf
"
\n\t
No required YUM dependencies to install.
\n
"
fi
printf
"
\n\t
Checking
for boost libraries
\n
"
printf
"
\n\t
Checking
boost library installation.
\n
"
if
[
!
-d
${
HOME
}
/opt/boost_1_66_0
]
;
then
# install boost
printf
"
\t
Installing boost libraries
\n
"
...
...
@@ -123,7 +124,7 @@
printf
"
\t
Boost 1.66 found at
${
HOME
}
/opt/boost_1_66_0
\n
"
fi
printf
"
\n\t
Checking
for MongoDB C++ driver
.
\n
"
printf
"
\n\t
Checking
MongoDB C++ driver installation
.
\n
"
if
[
!
-e
/usr/local/lib/libmongocxx-static.a
]
;
then
printf
"
\n\t
Installing MongoDB C & C++ drivers.
\n
"
cd
${
TEMP_DIR
}
...
...
@@ -190,8 +191,7 @@
printf
"
\t
Mongo C++ driver found at /usr/local/lib/libmongocxx-static.a.
\n
"
fi
printf
"
\n\t
Checking for secp256k1-zkp
\n
"
# install secp256k1-zkp (Cryptonomex branch)
printf
"
\n\t
Checking secp256k1-zkp installation.
\n
"
if
[
!
-e
/usr/local/lib/libsecp256k1.a
]
;
then
printf
"
\t
Installing secp256k1-zkp (Cryptonomex branch)
\n
"
cd
${
TEMP_DIR
}
...
...
@@ -216,9 +216,8 @@
printf
"
\t
secp256k1 found
\n
"
fi
printf
"
\n\t
Checking
for LLVM with WASM support
.
\n
"
printf
"
\n\t
Checking
LLVM with WASM support installation
.
\n
"
if
[
!
-d
${
HOME
}
/opt/wasm/bin
]
;
then
# Build LLVM and clang with EXPERIMENTAL WASM support:
printf
"
\t
Installing LLVM & WASM
\n
"
cd
${
TEMP_DIR
}
mkdir
llvm-compiler 2>/dev/null
...
...
@@ -229,7 +228,8 @@
cd
..
mkdir
build
cd
build
cmake
-G
"Unix Makefiles"
-DCMAKE_INSTALL_PREFIX
=
${
HOME
}
/opt/wasm
-DLLVM_ENABLE_RTTI
=
1
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD
=
WebAssembly
-DCMAKE_BUILD_TYPE
=
Release ../
cmake
-G
"Unix Makefiles"
-DCMAKE_INSTALL_PREFIX
=
${
HOME
}
/opt/wasm
-DLLVM_ENABLE_RTTI
=
1
\
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD
=
WebAssembly
-DCMAKE_BUILD_TYPE
=
Release ../
if
[
$?
-ne
0
]
;
then
printf
"
\t
Error compiling LLVM and clang with EXPERIMENTAL WASM support.
\n
"
printf
"
\t
Exiting now.
\n\n
"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录