Commit fbb0c170 authored by Yixian Jiang's avatar Yixian Jiang Committed by Facebook GitHub Bot

clean sigar build dependency

Summary:
Clean the sigar build dependency completely under:
- fbcode/fbzmq/public_tld/build/...
- fbcode/openr/public_tld/build/...

Delete files:
- fbcode/opensource/fbcode_builder/manifests/sigar
- fbcode/opensource/fbcode_builder/specs/sigar.py

Reviewed By: steven1327

Differential Revision: D20376067

fbshipit-source-id: 3321a14df2551525acee605028ef06a04cda7c6a
parent 6794edc6
[manifest]
name = sigar
[download]
url = https://github.com/hyperic/sigar/archive/ad47dc3b494e9293d1f087aebb099bdba832de5e.zip
sha256 = 6604f993ddaf081dbf61e705cbe8d7b91045d8f1226c7ab1aebe6fc20986c3cc
[build]
builder = cmake
subdir = sigar-ad47dc3b494e9293d1f087aebb099bdba832de5e
# Override CFLAGS; this is needed because there are a number of functions defined
# in C files with the `inline` keyword that otherwise get optimized away
[cmake.defines]
CMAKE_C_FLAGS = -fgnu89-inline
#!/usr/bin/env python
# Copyright (c) Facebook, Inc. and its affiliates.
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(),
]),
],
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment