mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
Merge pull request #93692 from danieldk/onednn-test-baseline-simd
oneDNN: use SSE 4.1 when running tests
This commit is contained in:
commit
bb259afcc6
@ -24,6 +24,9 @@ stdenv.mkDerivation rec {
|
||||
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
|
||||
'' + lib.optionalString stdenv.isx86_64 ''
|
||||
# Use baseline SIMD in case CPU features get misdetected.
|
||||
export DNNL_MAX_CPU_ISA=SSE41
|
||||
'';
|
||||
|
||||
# The cmake install gets tripped up and installs a nix tree into $out, in
|
||||
|
Loading…
Reference in New Issue
Block a user