diff options
author | Josef Kemetmüller <josef.kemetmueller@gmail.com> | 2021-08-20 17:29:48 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-07-04 03:49:01 +0300 |
commit | bcd70459981a6411418c2d8b0c13039270bdbf30 (patch) | |
tree | ac80298e67dbf1006df93d99eaa5925efc53c4dc /pkgs/development/libraries/oneDNN | |
parent | 1ca04aa9f1bec24bd4e01bac7932bbdb91737abb (diff) |
treewide: Remove now-unneeded LD_LIBRARY_PATH in cmake derivations
Since the setting DCMAKE_SKIP_BUILD_RPATH was disabled, we can now run the checkPhase of cmake derivations without having to tweak the LD_LIBRARY_PATH anymore.
Diffstat (limited to 'pkgs/development/libraries/oneDNN')
-rw-r--r-- | pkgs/development/libraries/oneDNN/default.nix | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pkgs/development/libraries/oneDNN/default.nix b/pkgs/development/libraries/oneDNN/default.nix index 42f05a6561632..a4c4bb057251a 100644 --- a/pkgs/development/libraries/oneDNN/default.nix +++ b/pkgs/development/libraries/oneDNN/default.nix @@ -21,12 +21,6 @@ stdenv.mkDerivation rec { # Tests fail on some Hydra builders, because they do not support SSE4.2. doCheck = false; - # The test driver doesn't add an RPath to the build libdir - preCheck = '' - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/src - export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD/src - ''; - # The cmake install gets tripped up and installs a nix tree into $out, in # addition to the correct install; clean it up. postInstall = '' |