Merge pull request #93747 from danieldk/onednn-no-sse4.1
oneDNN: compile without -msse4.1
This commit is contained in:
commit
fdbae69e8c
@ -20,6 +20,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
cmakeFlags = [
|
||||
# oneDNN compiles with -msse4.1 by default, but not all x86_64
|
||||
# CPUs support SSE 4.1.
|
||||
"-DDNNL_ARCH_OPT_FLAGS="
|
||||
];
|
||||
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user