Fixed build

parent e33ed538
!/usr/bin/env python #!/usr/bin/env python
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# Bash script to build cpp-ethereum within TravisCI. # Bash script to build cpp-ethereum within TravisCI.
...@@ -50,7 +50,7 @@ import sys ...@@ -50,7 +50,7 @@ import sys
import os import os
import subprocess import subprocess
os.chdir("..") os.chdir("..");
topDir = os.getcwd(); topDir = os.getcwd();
...@@ -60,8 +60,8 @@ print("Top directory is:" + topDir ) ...@@ -60,8 +60,8 @@ print("Top directory is:" + topDir )
makeExecutable = subprocess.check_output(["which", "make"]) makeExecutable = subprocess.check_output(["which", "make"])
SCRIPTS_DIR = topDir + "/scripts"
GMP_DIR = "sgx-gmp" GMP_DIR = topDir + "/sgx-gmp"
SSL_DIR = topDir + "/intel-sgx-ssl" SSL_DIR = topDir + "/intel-sgx-ssl"
SSL_SOURCE_DIR = SSL_DIR + "/openssl_source" SSL_SOURCE_DIR = SSL_DIR + "/openssl_source"
SSL_MAKE_DIR = SSL_DIR + "/Linux" SSL_MAKE_DIR = SSL_DIR + "/Linux"
...@@ -99,7 +99,10 @@ subprocess.call(["ln", "-s", AUTOMAKE_DIR + "/depcomp", "depcomp"]) ...@@ -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 + "/missing", "missing"])
subprocess.call(["ln", "-s", AUTOMAKE_DIR + "/compile", "compile"]) 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); os.chdir(GMP_DIR);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment