sgx-ssl: don't run test app in installCheckPhase
Although we build the test app in SGX simulation mode which does not require hardware SGX support, SGX SSL fails to initialize on non-Intel CPUs. This is unexpected (and inconsistent with the `sgx-sdk` sample code we run in the `installCheckPhase`) and subject to an upstream issue: https://github.com/intel/intel-sgx-ssl/issues/113 Revert this commit as soon as the issue is resolved by Intel.
This commit is contained in:
parent
db091609ff
commit
6639cd8c65
|
@ -67,9 +67,14 @@ stdenv.mkDerivation rec {
|
|||
"DESTDIR=$(out)"
|
||||
];
|
||||
|
||||
# Build and run the test app
|
||||
# Build the test app
|
||||
#
|
||||
# Running the test app is currently only supported on Intel CPUs
|
||||
# and will fail on non-Intel CPUs even in SGX simulation mode.
|
||||
# Therefore, we only build the test app without running it until
|
||||
# upstream resolves the issue: https://github.com/intel/intel-sgx-ssl/issues/113
|
||||
doInstallCheck = true;
|
||||
installCheckTarget = "all test";
|
||||
installCheckTarget = "all";
|
||||
installCheckFlags = [
|
||||
"SGX_MODE=SIM"
|
||||
"-C sgx/test_app"
|
||||
|
|
Loading…
Reference in a new issue