Loading pkgs/by-name/on/onnxruntime/package.nix +22 −20 Original line number Diff line number Diff line Loading @@ -317,8 +317,10 @@ effectiveStdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "onnxruntime_USE_COMPOSABLE_KERNEL_CK_TILE" false) ]; env = lib.optionalAttrs rocmSupport { env = { NIX_LDFLAGS = "-z,noexecstack"; } // lib.optionalAttrs rocmSupport { MIOPEN_PATH = rocmPackages.miopen; # HIP steps fail to find ROCm libs when not in HIPFLAGS, causing # fatal error: 'rocrand/rocrand.h' file not found Loading pkgs/development/python-modules/onnxruntime/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,10 @@ buildPythonPackage { chmod +w dist ''; env = { NIX_LDFLAGS = "-z,noexecstack"; }; nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ]; # This project requires fairly large dependencies such as sympy which we really don't always need. Loading Loading
pkgs/by-name/on/onnxruntime/package.nix +22 −20 Original line number Diff line number Diff line Loading @@ -317,8 +317,10 @@ effectiveStdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "onnxruntime_USE_COMPOSABLE_KERNEL_CK_TILE" false) ]; env = lib.optionalAttrs rocmSupport { env = { NIX_LDFLAGS = "-z,noexecstack"; } // lib.optionalAttrs rocmSupport { MIOPEN_PATH = rocmPackages.miopen; # HIP steps fail to find ROCm libs when not in HIPFLAGS, causing # fatal error: 'rocrand/rocrand.h' file not found Loading
pkgs/development/python-modules/onnxruntime/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,10 @@ buildPythonPackage { chmod +w dist ''; env = { NIX_LDFLAGS = "-z,noexecstack"; }; nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ]; # This project requires fairly large dependencies such as sympy which we really don't always need. Loading