Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oneDNN: compile without -msse4.1 #93747

Merged
merged 1 commit into from Jul 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions pkgs/development/libraries/oneDNN/default.nix
Expand Up @@ -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
Expand Down