Просмотр исходного кода

New command to replace make SGX_RUN=1

Miti Mazmudar 4 лет назад
Родитель
Сommit
43b9baa00c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      docker/deploy_enclaves.sh

+ 1 - 1
docker/deploy_enclaves.sh

@@ -3,7 +3,7 @@
 #To enter a tmux session, use tmux at -t <session_name> where session_name is decryptor, verifier or phpext.
 #List existing sessions by pressing tmux ls.
 
-cd ~/graphene && make SGX_RUN=1 
+cd ~/graphene && make SGX=1 sgx-tokens
 cd ~/source/Decryptor && tmux new-session -d -s dec './app; bash';
 cd ~/graphene/LibOS/shim/test/native && tmux new-session -d -s ver './pal_loader SGX verifier; bash'
 sleep 20; #Should have better logic here to check if the previous command exited successfully (server should only be started after the verifier finishes, or else it will try to do LA with the decryptor and crash'