mirror of
https://github.com/facebook/proxygen.git
synced 2025-09-02 16:21:15 +03:00
fix travis build failure for 'sigar' package
Summary: Added option to send parameters to 'configure' script from fbcode builder Reviewed By: jstrizich Differential Revision: D9004547 fbshipit-source-id: da54fa2dd453aab29051f37106423807a260535a
This commit is contained in:
committed by
Facebook Github Bot
parent
0bdb84798e
commit
6713be5d67
@@ -8,13 +8,14 @@ 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.run(ShellQuoted('CFLAGS="$CFLAGS -fgnu89-inline"')),
|
||||
builder.configure(),
|
||||
builder.configure('hyperic/sigar'),
|
||||
builder.make_and_install(),
|
||||
]),
|
||||
],
|
||||
|
Reference in New Issue
Block a user