mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-19 00:21:58 +03:00
Summary: Added option to send parameters to 'configure' script from fbcode builder Reviewed By: jstrizich Differential Revision: D9004547 fbshipit-source-id: da54fa2dd453aab29051f37106423807a260535a
23 lines
682 B
Python
23 lines
682 B
Python
#!/usr/bin/env python
|
|
from __future__ import absolute_import
|
|
from __future__ import division
|
|
from __future__ import print_function
|
|
from __future__ import unicode_literals
|
|
|
|
from shell_quoting import ShellQuoted
|
|
|
|
|
|
def fbcode_builder_spec(builder):
|
|
builder.add_option(
|
|
'hyperic/sigar:autoconf_options', {'CFLAGS' : '-fgnu89-inline'})
|
|
return {
|
|
'steps': [
|
|
builder.github_project_workdir('hyperic/sigar', '.'),
|
|
builder.step('Build and install sigar', [
|
|
builder.run(ShellQuoted('./autogen.sh')),
|
|
builder.configure('hyperic/sigar'),
|
|
builder.make_and_install(),
|
|
]),
|
|
],
|
|
}
|