From 5373e59a659146a6d059c8435740d12414159ec4 Mon Sep 17 00:00:00 2001 From: bbarnes52 Date: Fri, 19 Oct 2018 09:49:30 -0700 Subject: [PATCH] fixes boost (#136) * fixes boost rule * fixes boost * updates to use configureParameters --- tools/build_defs/boost_build.bzl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/build_defs/boost_build.bzl b/tools/build_defs/boost_build.bzl index 9d816d99..9cd25664 100644 --- a/tools/build_defs/boost_build.bzl +++ b/tools/build_defs/boost_build.bzl @@ -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([