mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
d10cabebb5
Added new APIs in sgx_uae_service.h and sgx_ukey_exchange.h to support ECDSA quote based remote attestation. The set of legacy APIs supports EPID only and the set of new APIs supports ECDSA quotes. Enhanced Edger8r with structure deep-copy feature. Fixed bugs. Signed-off-by: Li, Xun <xun.li@intel.com>
23 lines
590 B
Bash
Executable File
23 lines
590 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
if [ ! -d "$HOME/cache" ]; then
|
|
mkdir $HOME/cache;
|
|
fi
|
|
|
|
CTEST_EXEC="$HOME/cache/bin/ctest"
|
|
|
|
# check to see if CMake is cached
|
|
if [[ ! -f "$CTEST_EXEC" || ! "$($CTEST_EXEC --version)" =~ "3.2.3" ]]; then
|
|
wget --no-check-certificate https://cmake.org/files/v3.2/cmake-3.2.3.tar.gz -O /tmp/cmake.tar.gz;
|
|
tar -xzvf /tmp/cmake.tar.gz -C /tmp;
|
|
cd /tmp/cmake-3.2.3;
|
|
./configure --prefix=$HOME/cache;
|
|
make -j2;
|
|
make install;
|
|
else
|
|
echo "Using cached bin dir: $HOME/cache/bin";
|
|
ls -la $HOME/cache/bin;
|
|
echo "Using cached CMake installation:";
|
|
cmake -version;
|
|
fi
|