We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac33603 commit 8af1c4dCopy full SHA for 8af1c4d
1 file changed
pkgs/development/libraries/oneDNN/default.nix
@@ -20,6 +20,12 @@ stdenv.mkDerivation rec {
20
21
doCheck = true;
22
23
+ cmakeFlags = [
24
+ # oneDNN compiles with -msse4.1 by default, but not all x86_64
25
+ # CPUs support SSE 4.1.
26
+ "-DDNNL_ARCH_OPT_FLAGS="
27
+ ];
28
+
29
# The test driver doesn't add an RPath to the build libdir
30
preCheck = ''
31
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/src
0 commit comments