mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-07 06:12:58 +00:00
ec66c8886b
- gcc 12 and 13 are _still_ failing - sgx-sdk now requires FIPS-mode enabled Diff: <https://github.com/intel/ipp-crypto/compare/ippcp_2021.10.0...ippcp_2021.11.1> Changelog: <https://github.com/intel/ipp-crypto/blob/ippcp_2021.11.1/CHANGELOG.md>
33 lines
571 B
Nix
33 lines
571 B
Nix
{ gcc11Stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, nasm
|
|
, openssl
|
|
, python3
|
|
, extraCmakeFlags ? [ ]
|
|
}:
|
|
gcc11Stdenv.mkDerivation rec {
|
|
pname = "ipp-crypto";
|
|
version = "2021.11.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intel";
|
|
repo = "ipp-crypto";
|
|
rev = "ippcp_${version}";
|
|
hash = "sha256-OgNrrPE8jFVD/hcv7A43Bno96r4Z/lb7/SE6TEL7RDI=";
|
|
};
|
|
|
|
cmakeFlags = [
|
|
"-DARCH=intel64"
|
|
# sgx-sdk now requires FIPS-compliance mode turned on
|
|
"-DIPPCP_FIPS_MODE=on"
|
|
] ++ extraCmakeFlags;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
nasm
|
|
openssl
|
|
python3
|
|
];
|
|
}
|