proxygen
specs.fbthrift Namespace Reference

Functions

def fbcode_builder_spec (builder)
 

Function Documentation

def specs.fbthrift.fbcode_builder_spec (   builder)

Definition at line 17 of file fbthrift.py.

17 def fbcode_builder_spec(builder):
18  # This API should change rarely, so build the latest tag instead of master.
19  builder.add_option(
20  'no1msd/mstch:git_hash',
21  ShellQuoted('$(git describe --abbrev=0 --tags)')
22  )
23  builder.add_option(
24  'rsocket/rsocket-cpp/yarpl/build:cmake_defines', {'BUILD_TESTS': 'OFF'}
25  )
26  builder.add_option('krb5/krb5:git_hash', 'krb5-1.16.1-final')
27  return {
28  'depends_on': [folly, fizz, sodium, wangle, zstd],
29  'steps': [
30  # This isn't a separete spec, since only fbthrift uses mstch.
31  builder.github_project_workdir('no1msd/mstch', 'build'),
32  builder.cmake_install('no1msd/mstch'),
33  builder.github_project_workdir('krb5/krb5', 'src'),
34  builder.autoconf_install('krb5/krb5'),
35  builder.github_project_workdir(
36  'rsocket/rsocket-cpp', 'yarpl/build'
37  ),
38  builder.step('configuration for yarpl', [
39  builder.cmake_configure('rsocket/rsocket-cpp/yarpl/build'),
40  ]),
41  builder.cmake_install('rsocket/rsocket-cpp/yarpl'),
42  builder.fb_github_cmake_install('fbthrift/thrift'),
43  ],
44  }
45 
def fbcode_builder_spec(builder)
Definition: fbthrift.py:17