fixes boost (#136)

* fixes boost rule

* fixes boost

* updates to use configureParameters
This commit is contained in:
bbarnes52 2018-10-19 09:49:30 -07:00 committed by irengrig
parent eabe5f09d4
commit 5373e59a65
1 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@ def _boost_build(ctx):
attrs = create_attrs(
ctx.attr,
configure_name = "BuildBoost",
configure_script = _create_configure_script,
create_configure_script = _create_configure_script,
make_commands = ["./b2 install --prefix=."],
static_libraries = [
"libboost_atomic.a",
@ -60,7 +60,8 @@ def _boost_build(ctx):
)
return cc_external_rule_impl(ctx, attrs)
def _create_configure_script(ctx, attrs, inputs):
def _create_configure_script(configureParameters):
ctx = configureParameters.ctx
root = detect_root(ctx.attr.lib_source)
return "\n".join([