[staging-next] Revert "onnxruntime,python3.pkgs.onnxruntime: fix runtime w/ glibc-2.42" (#479191)

This commit is contained in:
Yureka
2026-01-16 18:05:37 +00:00
committed by GitHub
2 changed files with 1 additions and 8 deletions
+1 -4
View File
@@ -259,10 +259,7 @@ effectiveStdenv.mkDerivation rec {
(lib.cmakeBool "onnxruntime_USE_COMPOSABLE_KERNEL_CK_TILE" false)
];
env = {
NIX_LDFLAGS = "-z,noexecstack";
}
// lib.optionalAttrs rocmSupport {
env = 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
@@ -38,10 +38,6 @@ 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.