Fix golang grpc and local attestation demo to align with occlum 0.16.0
This commit is contained in:
parent
5df923057a
commit
f4b3389bbe
@ -26,7 +26,6 @@ echo "${new_json}" > Occlum.json
|
|||||||
|
|
||||||
# 2. Copy program into Occlum Workspace and build
|
# 2. Copy program into Occlum Workspace and build
|
||||||
cp ../occlum_ping image/bin
|
cp ../occlum_ping image/bin
|
||||||
mkdir image/etc/
|
|
||||||
cp /etc/hosts image/etc/
|
cp /etc/hosts image/etc/
|
||||||
occlum build
|
occlum build
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ echo "${new_json}" > Occlum.json
|
|||||||
|
|
||||||
# 2. Copy program into Occlum Workspace and build
|
# 2. Copy program into Occlum Workspace and build
|
||||||
cp ../occlum_pong image/bin
|
cp ../occlum_pong image/bin
|
||||||
mkdir image/etc/
|
|
||||||
cp /etc/hosts image/etc/
|
cp /etc/hosts image/etc/
|
||||||
occlum build
|
occlum build
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ THISDIR="$(dirname $(readlink -f $0))"
|
|||||||
INSTALLDIR="/usr/local/occlum/x86_64-linux-musl"
|
INSTALLDIR="/usr/local/occlum/x86_64-linux-musl"
|
||||||
DEPSDIR="$THISDIR/deps"
|
DEPSDIR="$THISDIR/deps"
|
||||||
TARGET_SO="$DEPSDIR/openssl/libcrypto.so"
|
TARGET_SO="$DEPSDIR/openssl/libcrypto.so"
|
||||||
SGX_VER="2.9.1"
|
SGX_VER="2.11"
|
||||||
|
|
||||||
mkdir -p $DEPSDIR || exit 1
|
mkdir -p $DEPSDIR || exit 1
|
||||||
|
|
||||||
@ -70,7 +70,7 @@ sdk/tlibcrypto/sgxssl/sgx_ecc256.cpp,\
|
|||||||
sdk/tlibcrypto/sgxssl/sgx_sha256_msg.cpp\
|
sdk/tlibcrypto/sgxssl/sgx_sha256_msg.cpp\
|
||||||
} $DH_DIR
|
} $DH_DIR
|
||||||
|
|
||||||
cd $DH_DIR && git apply $DH_PATCH >/dev/null 2>&1 || git apply $DH_PATCH -R --check
|
cd $DH_DIR && patch -p4 < $DH_PATCH >/dev/null 2>&1 || git apply $DH_PATCH -R --check
|
||||||
cd - >/dev/null 2>&1
|
cd - >/dev/null 2>&1
|
||||||
|
|
||||||
echo "DiffieHellmanLibrary is ready"
|
echo "DiffieHellmanLibrary is ready"
|
||||||
|
Loading…
Reference in New Issue
Block a user