parameters: (output_dir)
docstring: Perform the cmake build under the output_dir.
docstring_summary: Perform the cmake build under the output_dir.
docstring_tokens: Perform the cmake build under the output_dir .
function: def _build(output_dir):
      """Perform the cmake build under the output_dir."""
      shutil.rmtree(output_dir, ignore_errors=True)
      subprocess.check_call('mkdir -p %s' % output_dir, shell=True, cwd='.')
      subprocess.check_call([
          'cmake', '-DgRPC_BUILD_TESTS=OFF', '-DBUILD_SHARED_LIBS=ON',
          '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DCMAKE_C_FLAGS="-gsplit-dwarf"',
          '-DCMAKE_CXX_FLAGS="-gsplit-dwarf"', '..'
      ],
                            cwd=output_dir)
      subprocess.check_call('make -j%d' % args.jobs, shell=True, cwd=output_dir)
function_tokens: def _build ( output_dir ) : shutil . rmtree ( output_dir , ignore_errors = True ) subprocess . check_call ( 'mkdir -p %s' % output_dir , shell = True , cwd = '.' ) subprocess . check_call ( [ 'cmake' , '-DgRPC_BUILD_TESTS=OFF' , '-DBUILD_SHARED_LIBS=ON' , '-DCMAKE_BUILD_TYPE=RelWithDebInfo' , '-DCMAKE_C_FLAGS="-gsplit-dwarf"' , '-DCMAKE_CXX_FLAGS="-gsplit-dwarf"' , '..' ] , cwd = output_dir ) subprocess . check_call ( 'make -j%d' % args . jobs , shell = True , cwd = output_dir )