Added leveldb

parent 51a8439f
......@@ -7,3 +7,6 @@
[submodule "intel-sgx-ssl"]
path = intel-sgx-ssl
url = https://github.com/intel/intel-sgx-ssl
[submodule "leveldb"]
path = leveldb
url = https://github.com/google/leveldb.git
Subproject commit 21304d41f77990b8edabbdab33b222bd5ceb5f18
......@@ -66,6 +66,9 @@ SSL_DIR = topDir + "/intel-sgx-ssl"
SSL_SOURCE_DIR = SSL_DIR + "/openssl_source"
SSL_MAKE_DIR = SSL_DIR + "/Linux"
SGX_SDK_DIR_SSL = topDir + "/sgx-sdk-build/sgxsdk"
LEVELDB_DIR = topDir + "/leveldb"
LEVELDB_BUILD_DIR = LEVELDB_DIR + "/build"
......@@ -106,6 +109,14 @@ subprocess.call(["ln", "-s", AUTOMAKE_DIR + "/compile", "compile"])
assert subprocess.call(["cp", "configure.gmp", GMP_DIR + "/configure"]) == 0
os.chdir(LEVELDB_DIR);
assert subprocess.call(["bash","-c", "mkdir -p build"]) == 0
os.chdir(LEVELDB_BUILD_DIR);
assert subprocess.call(["bash","-c", "cmake -DCMAKE_BUILD_TYPE=Release .. && cmake --build ."]) == 0
os.chdir(BLS_DIR);
assert subprocess.call(["bash","-c", "cmake -H. -Bbuild"]) == 0
......
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