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

Function build_bess

build.py:363–375  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

361
362
363def build_bess():
364 check_essential()
365
366 if not os.path.exists('%s/build' % DPDK_DIR):
367 build_dpdk()
368
369 generate_protobuf_files()
370
371 print('Building BESS daemon...')
372 cmd('bin/bessctl daemon stop 2> /dev/null || true', shell=True)
373 cmd('rm -f core/bessd') # force relink as DPDK might have been rebuilt
374 nproc = int(cmd('nproc', quiet=True))
375 cmd('make -C core -j%d' % nproc)
376
377
378def build_kmod():

Callers 1

build_allFunction · 0.70

Calls 4

check_essentialFunction · 0.85
build_dpdkFunction · 0.85
generate_protobuf_filesFunction · 0.85
cmdFunction · 0.70

Tested by

no test coverage detected