1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-19 00:21:58 +03:00
Files
proxygen/build/fbcode_builder/specs/fbthrift.py
Ajanthan Asogamoorthy ca444e534d Link in fizz to wangle and wangle's dependencies
Summary: Update cmake configurations + legocastle jobs in order to add fizz as a dependency to wangle

Reviewed By: reanimus

Differential Revision: D9337956

fbshipit-source-id: 40f25694c2b3fd8aa37d254bc63a664f4c8ee526
2018-08-22 13:14:19 -07:00

44 lines
1.5 KiB
Python

#!/usr/bin/env python
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import specs.folly as folly
import specs.fizz as fizz
import specs.sodium as sodium
import specs.wangle as wangle
import specs.zstd as zstd
from shell_quoting import ShellQuoted
def fbcode_builder_spec(builder):
# This API should change rarely, so build the latest tag instead of master.
builder.add_option(
'no1msd/mstch:git_hash',
ShellQuoted('$(git describe --abbrev=0 --tags)')
)
builder.add_option(
'rsocket/rsocket-cpp/yarpl/build:cmake_defines', {'BUILD_TESTS': 'OFF'}
)
builder.add_option('krb5/krb5:git_hash', 'krb5-1.16.1-final')
return {
'depends_on': [folly, fizz, sodium, wangle, zstd],
'steps': [
# This isn't a separete spec, since only fbthrift uses mstch.
builder.github_project_workdir('no1msd/mstch', 'build'),
builder.cmake_install('no1msd/mstch'),
builder.github_project_workdir('krb5/krb5', 'src'),
builder.autoconf_install('krb5/krb5'),
builder.github_project_workdir(
'rsocket/rsocket-cpp', 'yarpl/build'
),
builder.step('configuration for yarpl', [
builder.cmake_configure('rsocket/rsocket-cpp/yarpl/build'),
]),
builder.cmake_install('rsocket/rsocket-cpp/yarpl'),
builder.fb_github_cmake_install('fbthrift/thrift'),
],
}