Commit a2f23245 authored by Yureka's avatar Yureka
Browse files

Revert "onnxruntime,python3.pkgs.onnxruntime: fix runtime w/ glibc-2.42"

The proper fix is included in 1.23.1, which will land in master with
https://github.com/NixOS/nixpkgs/pull/450587, causing conflicts unless
this is reverted.

This reverts commit b706c583.
parent abcc8690
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -264,10 +264,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
+0 −4
Original line number Diff line number Diff line
@@ -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.