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
bad6b03f
Unverified
Commit
bad6b03f
authored
Aug 31, 2019
by
kladkogex
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed build
parent
e33ed538
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
build.py
scripts/build.py
+8
-5
No files found.
scripts/build.py
View file @
bad6b03f
!
/
usr
/
bin
/
env
python
#
!/usr/bin/env python
#------------------------------------------------------------------------------
# Bash script to build cpp-ethereum within TravisCI.
...
...
@@ -50,7 +50,7 @@ import sys
import
os
import
subprocess
os
.
chdir
(
".."
)
os
.
chdir
(
".."
)
;
topDir
=
os
.
getcwd
();
...
...
@@ -60,8 +60,8 @@ print("Top directory is:" + topDir )
makeExecutable
=
subprocess
.
check_output
([
"which"
,
"make"
])
GMP_DIR
=
"
sgx-gmp"
SCRIPTS_DIR
=
topDir
+
"/scripts"
GMP_DIR
=
topDir
+
"/
sgx-gmp"
SSL_DIR
=
topDir
+
"/intel-sgx-ssl"
SSL_SOURCE_DIR
=
SSL_DIR
+
"/openssl_source"
SSL_MAKE_DIR
=
SSL_DIR
+
"/Linux"
...
...
@@ -99,7 +99,10 @@ subprocess.call(["ln", "-s", AUTOMAKE_DIR + "/depcomp", "depcomp"])
subprocess
.
call
([
"ln"
,
"-s"
,
AUTOMAKE_DIR
+
"/missing"
,
"missing"
])
subprocess
.
call
([
"ln"
,
"-s"
,
AUTOMAKE_DIR
+
"/compile"
,
"compile"
])
subprocess
.
call
([
"bash"
,
"-c"
,
"sgx_linux_x64_sdk_2.5.100.49891.bin"
,
"--prefix="
+
topDir
+
"/sgx-sdk-build"
]);
os
.
chdir
(
SCRIPTS_DIR
)
assert
subprocess
.
call
([
"bash"
,
"-c"
,
"./sgx_linux_x64_sdk_2.5.100.49891.bin --prefix="
+
topDir
+
"/sgx-sdk-build"
])
==
0
os
.
chdir
(
GMP_DIR
);
...
...
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