build-driver 429 B

123456789101112131415
  1. #!/bin/bash -x
  2. rm -rf linux-sgx-driver
  3. git clone https://github.com/intel/linux-sgx-driver.git
  4. cd linux-sgx-driver
  5. git checkout f7dc97c0
  6. make
  7. cp -av sgx_user.h ../graphene-docker/
  8. cd ..
  9. rm -rf graphene-sgx-driver
  10. git clone https://github.com/oscarlab/graphene-sgx-driver.git
  11. cd graphene-sgx-driver
  12. git checkout 30d4b940
  13. ISGX_DRIVER_PATH=../linux-sgx-driver ISGX_DRIVER_VERSION=2.5 make
  14. cp -av isgx_version.h ../graphene-docker/