mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
a639839a68
* ENT-1188 - Remove unused scripts and dependencies * ENT-1188 - Update references to removed scripts * ENT-1188 - Clean up Makefile for container build of SGX JVM * ENT-1188 - Group udev rules into separate folder * ENT-1188 - Remove old references to dependencies folder
23 lines
726 B
Bash
23 lines
726 B
Bash
#!/bin/bash
|
|
|
|
set -xeuo
|
|
|
|
sx containers prune
|
|
sx containers build
|
|
|
|
sx build .. linux-sgx/build/linux/aesm_service
|
|
#sx build ../simple-enclave MODE=Debug unsigned
|
|
sx build ../simple-enclave MODE=Release unsigned
|
|
sx exec ./gradlew sgx-jvm/hsm-tool:jar
|
|
|
|
java -jar ../hsm-tool/build/libs/sgx-jvm/hsm-tool-1.0-SNAPSHOT.jar --mode=Sign --source=build/simple_enclave_blob_to_sign.bin --signature=build/simple_enclave.signature.hsm.sha256 --pubkey=build/hsm.public.pem --profile=dev_hsm
|
|
|
|
sx build ../simple-enclave sigstruct-hsm
|
|
sx build ../simple-enclave simple_test
|
|
sx exec ./sgx-jvm/simple-enclave/build/simple_test sgx-jvm/simple-enclave/build/simple_enclave.signed.hsm.so
|
|
|
|
# Dev Cards:
|
|
# ADMIN_CARD
|
|
# SGX_CARD_A
|
|
# SGX_CARD_B
|