Преглед изворни кода

New command to replace make SGX_RUN=1

Miti Mazmudar пре 4 година
родитељ
комит
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.
 #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.
 #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 ~/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'
 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' 
 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'