2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-11-25 17:31:25 +00:00

Boost rule to use shell toolchain, fixes #202 (#203)

This commit is contained in:
irengrig 2019-01-19 17:37:57 +01:00 committed by GitHub
parent 5511d9e1fe
commit 216ded8acb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ def _create_configure_script(configureParameters):
return "\n".join([
"cd $INSTALLDIR",
"cp -R $EXT_BUILD_ROOT/{}/. .".format(root),
"##copy_dir_contents_to_dir## $$EXT_BUILD_ROOT$$/{}/. .".format(root),
"./bootstrap.sh",
])
@ -44,4 +44,7 @@ boost_build = rule(
fragments = ["cpp"],
output_to_genfiles = True,
implementation = _boost_build,
toolchains = [
"@rules_foreign_cc//tools/build_defs/shell_toolchain/toolchains:shell_commands",
],
)