proxygen
specs.fbzmq Namespace Reference

Functions

def fbcode_builder_spec (builder)
 

Function Documentation

def specs.fbzmq.fbcode_builder_spec (   builder)

Definition at line 17 of file fbzmq.py.

References folly.format().

17 def fbcode_builder_spec(builder):
18  builder.add_option('zeromq/libzmq:git_hash', 'v4.2.5')
19  return {
20  'depends_on': [folly, fbthrift, gmock, sodium, sigar],
21  'steps': [
22  builder.github_project_workdir('zeromq/libzmq', '.'),
23  builder.step('Build and install zeromq/libzmq', [
24  builder.run(ShellQuoted('./autogen.sh')),
25  builder.configure(),
26  builder.make_and_install(),
27  ]),
28 
29  builder.fb_github_project_workdir('fbzmq/fbzmq/build', 'facebook'),
30  builder.step('Build and install fbzmq/fbzmq/build', [
31  builder.cmake_configure('fbzmq/fbzmq/build'),
32  # we need the pythonpath to find the thrift compiler
33  builder.run(ShellQuoted(
34  'PYTHONPATH="$PYTHONPATH:"{p}/lib/python2.7/site-packages '
35  'make -j {n}'
36  ).format(p=builder.option('prefix'), n=builder.option('make_parallelism'))),
37  builder.run(ShellQuoted('make install')),
38  ]),
39  ],
40  }
41 
def fbcode_builder_spec(builder)
Definition: fbzmq.py:17
Formatter< false, Args... > format(StringPiece fmt, Args &&...args)
Definition: Format.h:271