proxygen
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
zstd.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
# Copyright (c) Facebook, Inc. and its affiliates.
3
from
__future__
import
absolute_import
4
from
__future__
import
division
5
from
__future__
import
print_function
6
from
__future__
import
unicode_literals
7
8
from
shell_quoting
import
ShellQuoted
9
10
11
def
fbcode_builder_spec
(builder):
12
# This API should change rarely, so build the latest tag instead of master.
13
builder.add_option(
14
'facebook/zstd:git_hash'
,
15
ShellQuoted
(
'$(git describe --abbrev=0 --tags origin/master)'
)
16
)
17
return
{
18
'steps'
: [
19
builder.github_project_workdir(
'facebook/zstd'
,
'.'
),
20
builder.step(
'Build and install zstd'
, [
21
builder.make_and_install(make_vars={
22
'PREFIX'
: builder.option(
'prefix'
),
23
})
24
]),
25
],
26
}
shell_quoting.ShellQuoted
Definition:
shell_quoting.py:26
specs.zstd.fbcode_builder_spec
def fbcode_builder_spec(builder)
Definition:
zstd.py:11
build
fbcode_builder
specs
zstd.py
Generated by
1.8.11