MCPcopy Create free account
hub / github.com/NetSys/bess / build_dpdk

Function build_dpdk

build.py:307–317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

305
306
307def build_dpdk():
308 check_essential()
309 download_dpdk(quiet=True)
310
311 # not configured yet?
312 if not os.path.exists('%s/build' % DPDK_DIR):
313 configure_dpdk()
314
315 print('Building DPDK...')
316 nproc = int(cmd('nproc', quiet=True))
317 cmd('make -j%d -C %s EXTRA_CFLAGS=%s' % (nproc, DPDK_DIR, DPDK_CFLAGS))
318
319
320def generate_protobuf_files():

Callers 2

build_bessFunction · 0.85
build_allFunction · 0.85

Calls 4

check_essentialFunction · 0.85
download_dpdkFunction · 0.85
configure_dpdkFunction · 0.85
cmdFunction · 0.70

Tested by

no test coverage detected