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
This commit is contained in:
parent
3cd63ade16
commit
a7ca56428a
@ -14,6 +14,9 @@ stdenv.mkDerivation rec {
|
|||||||
RTE_KERNELDIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
RTE_KERNELDIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
||||||
RTE_TARGET = "x86_64-native-linuxapp-gcc";
|
RTE_TARGET = "x86_64-native-linuxapp-gcc";
|
||||||
|
|
||||||
|
# we need sse3 instructions to build
|
||||||
|
NIX_ENFORCE_NO_NATIVE = "0";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
outputs = [ "out" "examples" ];
|
outputs = [ "out" "examples" ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user