dpdk: pktgen: odp-dpdk: upgrades (#16585)
* dpdk: fix a typo * dpdk: separate configure phase * odp-dpdk: 1.8.0.0 -> 1.10.1.0 * pktgen: 3.0.00 -> 3.0.04 * pktgen: add withGtk build option
This commit is contained in:
committed by
Domen Kožar
parent
3afa246038
commit
d515d72aba
@@ -16,14 +16,17 @@ stdenv.mkDerivation rec {
|
||||
RTE_KERNELDIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
||||
RTE_TARGET = "x86_64-native-linuxapp-gcc";
|
||||
|
||||
# we need ssse3 instructions to build
|
||||
# we need sse3 instructions to build
|
||||
NIX_CFLAGS_COMPILE = [ "-march=core2" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
outputs = [ "out" "kmod" "examples" ];
|
||||
|
||||
buildPhase = ''
|
||||
configurePhase = ''
|
||||
make T=x86_64-native-linuxapp-gcc config
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
make T=x86_64-native-linuxapp-gcc install
|
||||
make T=x86_64-native-linuxapp-gcc examples
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user