README.txt 957 B

1234567891011121314151617181920212223242526
  1. --------------------------
  2. Purpose of PowerTransition
  3. --------------------------
  4. The project demonstrates one method about power transition handling for Intel(R)
  5. Software Guard Extensions projects development.
  6. ------------------------------------
  7. How to Build/Execute the Sample Code
  8. ------------------------------------
  9. 1. Install Intel(R) SGX SDK for Linux* OS
  10. 2. Build the project with the prepared Makefile:
  11. a. Hardware Mode, Debug build:
  12. $ make
  13. b. Hardware Mode, Pre-release build:
  14. $ make SGX_PRERELEASE=1 SGX_DEBUG=0
  15. c. Hardware Mode, Release build:
  16. $ make SGX_DEBUG=0
  17. d. Simulation Mode, Debug build:
  18. $ make SGX_MODE=SIM
  19. e. Simulation Mode, Pre-release build:
  20. $ make SGX_MODE=SIM SGX_PRERELEASE=1 SGX_DEBUG=0
  21. f. Simulation Mode, Release build:
  22. $ make SGX_MODE=SIM SGX_DEBUG=0
  23. 3. Execute the binary directly:
  24. $ ./app
  25. 4. Remember to "make clean" before switching build mode