diff options
author | Domen Kožar <domen@dev.si> | 2016-05-18 16:25:57 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2016-05-18 16:25:57 +0100 |
commit | a7ca56428afaca9527b6be9026872b5c180482cd (patch) | |
tree | 0eca558226f75e45db56ef3283f56c096df9a0f1 /pkgs | |
parent | 3cd63ade1614d4c581735ffb0cebe181bf87dfc8 (diff) |
dpdk: set NIX_ENFORCE_NO_NATIVE = 0 to fix build
Since 0c6db0ca48612f18e5c2b744dfa385ba8eecc950 the build would fail since it relies on sse instructions. cc @abbradar to be sure this is correct fix
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/os-specific/linux/dpdk/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/dpdk/default.nix b/pkgs/os-specific/linux/dpdk/default.nix index 2d7c8a5f14e10..15cfd84dd51f8 100644 --- a/pkgs/os-specific/linux/dpdk/default.nix +++ b/pkgs/os-specific/linux/dpdk/default.nix @@ -14,6 +14,9 @@ stdenv.mkDerivation rec { RTE_KERNELDIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"; RTE_TARGET = "x86_64-native-linuxapp-gcc"; + # we need sse3 instructions to build + NIX_ENFORCE_NO_NATIVE = "0"; + enableParallelBuilding = true; outputs = [ "out" "examples" ]; |