lol

rocmPackages.hiprt: disable kernel encryption support

Per upstream encryption of kernels was a holdover from when hiprt was closed source.
Let's disable it and drop the need to rebuild easy-encryption.

https://github.com/GPUOpen-LibrariesAndSDKs/HIPRT/issues/11#issuecomment-2105410458

Luna Nova 882158af d51e74bd

+3 -3
+3 -3
pkgs/development/rocm-modules/6/hiprt/default.nix
··· 4 4 fetchFromGitHub, 5 5 cmake, 6 6 clr, 7 - gcc, 8 7 python3, 9 8 }: 10 9 ··· 20 19 }; 21 20 22 21 postPatch = '' 23 - g++ contrib/easy-encryption/cl.cpp -o contrib/easy-encryption/bin/linux/ee64 #replacing prebuilt binary 22 + rm -rf contrib/easy-encrypt # contains prebuilt easy-encrypt binaries, we disable encryption 24 23 substituteInPlace contrib/Orochi/contrib/hipew/src/hipew.cpp --replace-fail '"/opt/rocm/hip/lib/' '"${clr}/lib' 25 24 substituteInPlace hiprt/hiprt_libpath.h --replace-fail '"/opt/rocm/hip/lib/' '"${clr}/lib/' 26 25 ''; 27 26 28 27 nativeBuildInputs = [ 29 - gcc # required for replacing easy-encryption binary 30 28 cmake 31 29 python3 32 30 ]; ··· 42 40 (lib.cmakeBool "PRECOMPILE" true) 43 41 # needs accelerator 44 42 (lib.cmakeBool "NO_UNITTEST" true) 43 + # we have no need to support baking encrypted kernels into object files 44 + (lib.cmakeBool "NO_ENCRYPT" true) 45 45 (lib.cmakeBool "FORCE_DISABLE_CUDA" true) 46 46 ]; 47 47