proxygen
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
fbcode_builder_config.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
from
__future__
import
absolute_import
3
from
__future__
import
division
4
from
__future__
import
print_function
5
from
__future__
import
unicode_literals
6
7
'fbcode_builder steps to build & test Wangle'
8
9
import
specs.gmock
as
gmock
10
import
specs.folly
as
folly
11
import
specs.fizz
as
fizz
12
import
specs.sodium
as
sodium
13
14
from
shell_quoting
import
ShellQuoted
15
16
17
def
fbcode_builder_spec
(builder):
18
builder.add_option(
19
'wangle/_build:cmake_defines'
,
20
{
21
'BUILD_SHARED_LIBS'
:
'OFF'
,
22
'BUILD_TESTS'
:
'ON'
,
23
}
24
)
25
return
{
26
'depends_on'
: [gmock, folly, fizz, sodium],
27
'steps'
: [
28
builder.fb_github_cmake_install(
'wangle/_build'
,
'../wangle'
),
29
builder.step(
30
'Run wangle tests'
, [
31
builder.run(
32
ShellQuoted(
'ctest --output-on-failure -j {n}'
)
33
.
format
(n=builder.option(
'make_parallelism'
), )
34
)
35
]
36
),
37
]
38
}
39
40
41
config = {
42
'github_project'
:
'facebook/wangle'
,
43
'fbcode_builder_spec'
: fbcode_builder_spec,
44
}
specs.gmock
Definition:
gmock.py:1
specs.sodium
Definition:
sodium.py:1
specs.fizz
Definition:
fizz.py:1
fbcode_builder_config.fbcode_builder_spec
def fbcode_builder_spec(builder)
Definition:
fbcode_builder_config.py:17
folly::format
Formatter< false, Args... > format(StringPiece fmt, Args &&...args)
Definition:
Format.h:271
specs.folly
Definition:
folly.py:1
proxygen
wangle
build
fbcode_builder_config.py
Generated by
1.8.11