sgx-sdk: nixpkgs-fmt

This commit is contained in:
Vincent Haupert 2021-11-15 00:10:36 +01:00
parent c4a110276b
commit 2fcfe8c830
2 changed files with 37 additions and 35 deletions

View File

@ -84,7 +84,8 @@ stdenv.mkDerivation rec {
# Build external/ippcp_internal first. The Makefile is rewritten to make the
# build faster by splitting different versions of ipp-crypto builds and to
# avoid patching the Makefile for reproducibility issues.
buildPhase = let
buildPhase =
let
ipp-crypto-no_mitigation = callPackage (import ./ipp-crypto.nix) { };
sgx-asm-pp = "python ${src}/build-scripts/sgx-asm-pp.py --assembler=nasm";
@ -98,7 +99,8 @@ stdenv.mkDerivation rec {
ipp-crypto-cve_2020_0551_cf = callPackage (import ./ipp-crypto.nix) {
extraCmakeFlags = [ "-DCMAKE_ASM_NASM_COMPILER=${nasm-cf}" ];
};
in ''
in
''
cd external/ippcp_internal
mkdir -p lib/linux/intel64/no_mitigation