hyperledger / fabric-private-chaincode

FPC enables Confidential Chaincode Execution for Hyperledger Fabric using Intel SGX.
Apache License 2.0
160 stars 91 forks source link

Fix testing on non-Intel CPU #748

Closed bvavala closed 7 months ago

bvavala commented 7 months ago

This PR upgrades the SGX SDK and SSL packages and enables the SKIP_INTELCPU_CHECK flag. SGX SSL aborts when it's not used on Intel CPUs, even in SIM mode. However, more recent versions (which require an SDK upgrade) allow to build the package by excluding that check. Additionally, the PR enables SGX SSL tests to spot these issues early on, since these are only executed when the docker containers need to be rebuilt.