Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
0f4e839d
Unverified
Commit
0f4e839d
authored
Dec 17, 2019
by
Sergiy Lavrynenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-1850 build improvements for dependencies
parent
406076ab
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
5 deletions
+11
-5
.gitignore
.gitignore
+1
-0
README.md
README.md
+1
-2
build.sh
jsonrpc/build.sh
+8
-1
curl-from-git.tar.gz
jsonrpc/curl-from-git.tar.gz
+0
-0
install_packages.sh
scripts/install_packages.sh
+1
-2
No files found.
.gitignore
View file @
0f4e839d
...
@@ -33,6 +33,7 @@ autom4te.cache
...
@@ -33,6 +33,7 @@ autom4te.cache
sgxwallet
sgxwallet
testw
testw
configure
configure
jsonrpc/zlib
jsonrpc/argtable2
jsonrpc/argtable2
jsonrpc/jsoncpp
jsonrpc/jsoncpp
jsonrpc/libjson-rpc-cpp
jsonrpc/libjson-rpc-cpp
...
...
README.md
View file @
0f4e839d
...
@@ -9,9 +9,8 @@
...
@@ -9,9 +9,8 @@
## Install Prerequisites
## Install Prerequisites
```
```
sudo apt-get install build-essential make cmake gcc g++ python libprotobuf10 flex bison automake libtool texinfo
sudo apt-get install build-essential make cmake gcc g++ python libprotobuf10 flex bison automake libtool texinfo
libgnutls30
```
```
libssl-dev libboost-all-dev libgmp3-dev libprocps-dev libjsonrpccpp-dev
## Clone this repository and its submodules
## Clone this repository and its submodules
...
...
jsonrpc/build.sh
View file @
0f4e839d
...
@@ -36,6 +36,13 @@ fi
...
@@ -36,6 +36,13 @@ fi
export
OPENSSL_SRC_RELATIVE
=
"../libBLS/deps/openssl"
export
OPENSSL_SRC_RELATIVE
=
"../libBLS/deps/openssl"
export
OPENSSL_SRC
=
`
$READLINK
-f
$OPENSSL_SRC_RELATIVE
`
export
OPENSSL_SRC
=
`
$READLINK
-f
$OPENSSL_SRC_RELATIVE
`
git clone https://github.com/madler/zlib.git
cd
zlib
./configure
--static
--prefix
=
$INSTALL_ROOT
make
make
install
cd
..
git clone https://github.com/jonathanmarvens/argtable2.git
git clone https://github.com/jonathanmarvens/argtable2.git
cd
argtable2
cd
argtable2
mkdir
-p
build
mkdir
-p
build
...
@@ -58,7 +65,6 @@ make install
...
@@ -58,7 +65,6 @@ make install
cd
../..
cd
../..
git clone https://github.com/curl/curl.git
git clone https://github.com/curl/curl.git
tar
-czf
curl-from-git.tar.gz ./curl
cd
curl
cd
curl
mkdir
-p
build
mkdir
-p
build
cd
build
cd
build
...
@@ -86,6 +92,7 @@ cd ..
...
@@ -86,6 +92,7 @@ cd ..
tar
-xzf
./pre_downloaded/libjson-rpc-cpp.tar.gz
tar
-xzf
./pre_downloaded/libjson-rpc-cpp.tar.gz
cd
libjson-rpc-cpp
cd
libjson-rpc-cpp
rn
-rf
build
||
true
mkdir
-p
build
mkdir
-p
build
cd
build
cd
build
cmake
-DCMAKE_INSTALL_PREFIX
=
$INSTALL_ROOT
-DCMAKE_BUILD_TYPE
=
$TOP_CMAKE_BUILD_TYPE
\
cmake
-DCMAKE_INSTALL_PREFIX
=
$INSTALL_ROOT
-DCMAKE_BUILD_TYPE
=
$TOP_CMAKE_BUILD_TYPE
\
...
...
jsonrpc/curl-from-git.tar.gz
deleted
100644 → 0
View file @
406076ab
File deleted
scripts/install_packages.sh
View file @
0f4e839d
sudo
dpkg
-i
*
.deb
sudo
dpkg
-i
*
.deb
sudo
apt
install
cmake flex bison ccache autoconf texinfo
sudo
apt
install
cmake flex bison ccache autoconf texinfo libgnutls30
#libprocps-dev libssl-dev libboost-all-dev libjsonrpccpp-dev libjsonrpccpp-tools
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment