2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-11-28 08:43:26 +00:00
This commit is contained in:
UebelAndre 2021-07-12 14:18:58 +00:00
parent 82a719dfff
commit 2a52ae78d9
5 changed files with 16 additions and 12 deletions

View file

@ -345,12 +345,13 @@ make(<a href="#make-name">name</a>, <a href="#make-additional_inputs">additional
<p><a id="#make_tool"></a></p> <p><a id="#make_tool"></a></p>
<h2 id="make_tool"><a class="header" href="#make_tool">make_tool</a></h2> <h2 id="make_tool"><a class="header" href="#make_tool">make_tool</a></h2>
<pre> <pre>
make_tool(<a href="#make_tool-name">name</a>, <a href="#make_tool-srcs">srcs</a>) make_tool(<a href="#make_tool-name">name</a>, <a href="#make_tool-env">env</a>, <a href="#make_tool-srcs">srcs</a>)
</pre> </pre>
<p>Rule for building Make. Invokes configure script and make install.</p> <p>Rule for building Make. Invokes configure script and make install.</p>
<p><strong>ATTRIBUTES</strong></p> <p><strong>ATTRIBUTES</strong></p>
<table><thead><tr><th align="left">Name</th><th align="left">Description</th><th align="left">Type</th><th align="left">Mandatory</th><th align="left">Default</th></tr></thead><tbody> <table><thead><tr><th align="left">Name</th><th align="left">Description</th><th align="left">Type</th><th align="left">Mandatory</th><th align="left">Default</th></tr></thead><tbody>
<tr><td align="left"><a id="make_tool-name"></a>name</td><td align="left">A unique name for this target.</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#name">Name</a></td><td align="left">required</td><td align="left"></td></tr> <tr><td align="left"><a id="make_tool-name"></a>name</td><td align="left">A unique name for this target.</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#name">Name</a></td><td align="left">required</td><td align="left"></td></tr>
<tr><td align="left"><a id="make_tool-env"></a>env</td><td align="left">Environment variables to set during the build.</td><td align="left"><a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -&gt; String</a></td><td align="left">optional</td><td align="left">{}</td></tr>
<tr><td align="left"><a id="make_tool-srcs"></a>srcs</td><td align="left">The target containing the build tool's sources</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#labels">Label</a></td><td align="left">required</td><td align="left"></td></tr> <tr><td align="left"><a id="make_tool-srcs"></a>srcs</td><td align="left">The target containing the build tool's sources</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#labels">Label</a></td><td align="left">required</td><td align="left"></td></tr>
</tbody></table> </tbody></table>
<p><a id="#native_tool_toolchain"></a></p> <p><a id="#native_tool_toolchain"></a></p>
@ -408,12 +409,13 @@ ninja(<a href="#ninja-name">name</a>, <a href="#ninja-additional_inputs">additio
<p><a id="#ninja_tool"></a></p> <p><a id="#ninja_tool"></a></p>
<h2 id="ninja_tool"><a class="header" href="#ninja_tool">ninja_tool</a></h2> <h2 id="ninja_tool"><a class="header" href="#ninja_tool">ninja_tool</a></h2>
<pre> <pre>
ninja_tool(<a href="#ninja_tool-name">name</a>, <a href="#ninja_tool-srcs">srcs</a>) ninja_tool(<a href="#ninja_tool-name">name</a>, <a href="#ninja_tool-env">env</a>, <a href="#ninja_tool-srcs">srcs</a>)
</pre> </pre>
<p>Rule for building Ninja. Invokes configure script.</p> <p>Rule for building Ninja. Invokes configure script.</p>
<p><strong>ATTRIBUTES</strong></p> <p><strong>ATTRIBUTES</strong></p>
<table><thead><tr><th align="left">Name</th><th align="left">Description</th><th align="left">Type</th><th align="left">Mandatory</th><th align="left">Default</th></tr></thead><tbody> <table><thead><tr><th align="left">Name</th><th align="left">Description</th><th align="left">Type</th><th align="left">Mandatory</th><th align="left">Default</th></tr></thead><tbody>
<tr><td align="left"><a id="ninja_tool-name"></a>name</td><td align="left">A unique name for this target.</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#name">Name</a></td><td align="left">required</td><td align="left"></td></tr> <tr><td align="left"><a id="ninja_tool-name"></a>name</td><td align="left">A unique name for this target.</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#name">Name</a></td><td align="left">required</td><td align="left"></td></tr>
<tr><td align="left"><a id="ninja_tool-env"></a>env</td><td align="left">Environment variables to set during the build.</td><td align="left"><a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -&gt; String</a></td><td align="left">optional</td><td align="left">{}</td></tr>
<tr><td align="left"><a id="ninja_tool-srcs"></a>srcs</td><td align="left">The target containing the build tool's sources</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#labels">Label</a></td><td align="left">required</td><td align="left"></td></tr> <tr><td align="left"><a id="ninja_tool-srcs"></a>srcs</td><td align="left">The target containing the build tool's sources</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#labels">Label</a></td><td align="left">required</td><td align="left"></td></tr>
</tbody></table> </tbody></table>
<p><a id="#ForeignCcArtifactInfo"></a></p> <p><a id="#ForeignCcArtifactInfo"></a></p>

View file

@ -149,7 +149,7 @@
<h1 id="rules-foreigncc"><a class="header" href="#rules-foreigncc">Rules ForeignCc</a></h1> <h1 id="rules-foreigncc"><a class="header" href="#rules-foreigncc">Rules ForeignCc</a></h1>
<p>Rules for building C/C++ projects using foreign build systems (non Bazel) inside Bazel projects.</p> <p>Rules for building C/C++ projects using foreign build systems (non Bazel) inside Bazel projects.</p>
<table><thead><tr><th>Release</th><th>Commit</th><th>Status</th></tr></thead><tbody> <table><thead><tr><th>Release</th><th>Commit</th><th>Status</th></tr></thead><tbody>
<tr><td>main</td><td><a href="https://github.com/bazelbuild/rules_foreign_cc/commit/bb2f0ab0aa7bf1cbcd4836dbfca353f06fd38c41">bb2f0ab</a></td><td><a href="https://buildkite.com/bazel/rules-foreign-cc?branch=main"><img src="https://badge.buildkite.com/c28afbf846e2077715c753dda1f4b820cdcc46cc6cde16503c.svg?commit=main" alt="Build status" /></a></td></tr> <tr><td>main</td><td><a href="https://github.com/bazelbuild/rules_foreign_cc/commit/93d7c272cc407743c1be686bb59e8a206bed5179">93d7c27</a></td><td><a href="https://buildkite.com/bazel/rules-foreign-cc?branch=main"><img src="https://badge.buildkite.com/c28afbf846e2077715c753dda1f4b820cdcc46cc6cde16503c.svg?commit=main" alt="Build status" /></a></td></tr>
</tbody></table> </tbody></table>
<h2 id="overview"><a class="header" href="#overview">Overview</a></h2> <h2 id="overview"><a class="header" href="#overview">Overview</a></h2>
<p>Rules ForeignCc is designed to help users build projects that are not built by Bazel and also <p>Rules ForeignCc is designed to help users build projects that are not built by Bazel and also
@ -167,8 +167,8 @@ http_archive(
# release on the releases page: https://github.com/bazelbuild/rules_foreign_cc/releases # release on the releases page: https://github.com/bazelbuild/rules_foreign_cc/releases
# #
# sha256 = &quot;...&quot;, # sha256 = &quot;...&quot;,
strip_prefix = &quot;rules_foreign_cc-bb2f0ab0aa7bf1cbcd4836dbfca353f06fd38c41&quot;, strip_prefix = &quot;rules_foreign_cc-93d7c272cc407743c1be686bb59e8a206bed5179&quot;,
url = &quot;https://github.com/bazelbuild/rules_foreign_cc/archive/bb2f0ab0aa7bf1cbcd4836dbfca353f06fd38c41.tar.gz&quot;, url = &quot;https://github.com/bazelbuild/rules_foreign_cc/archive/93d7c272cc407743c1be686bb59e8a206bed5179.tar.gz&quot;,
) )
load(&quot;@rules_foreign_cc//foreign_cc:repositories.bzl&quot;, &quot;rules_foreign_cc_dependencies&quot;) load(&quot;@rules_foreign_cc//foreign_cc:repositories.bzl&quot;, &quot;rules_foreign_cc_dependencies&quot;)

View file

@ -150,7 +150,7 @@
<h1 id="rules-foreigncc"><a class="header" href="#rules-foreigncc">Rules ForeignCc</a></h1> <h1 id="rules-foreigncc"><a class="header" href="#rules-foreigncc">Rules ForeignCc</a></h1>
<p>Rules for building C/C++ projects using foreign build systems (non Bazel) inside Bazel projects.</p> <p>Rules for building C/C++ projects using foreign build systems (non Bazel) inside Bazel projects.</p>
<table><thead><tr><th>Release</th><th>Commit</th><th>Status</th></tr></thead><tbody> <table><thead><tr><th>Release</th><th>Commit</th><th>Status</th></tr></thead><tbody>
<tr><td>main</td><td><a href="https://github.com/bazelbuild/rules_foreign_cc/commit/bb2f0ab0aa7bf1cbcd4836dbfca353f06fd38c41">bb2f0ab</a></td><td><a href="https://buildkite.com/bazel/rules-foreign-cc?branch=main"><img src="https://badge.buildkite.com/c28afbf846e2077715c753dda1f4b820cdcc46cc6cde16503c.svg?commit=main" alt="Build status" /></a></td></tr> <tr><td>main</td><td><a href="https://github.com/bazelbuild/rules_foreign_cc/commit/93d7c272cc407743c1be686bb59e8a206bed5179">93d7c27</a></td><td><a href="https://buildkite.com/bazel/rules-foreign-cc?branch=main"><img src="https://badge.buildkite.com/c28afbf846e2077715c753dda1f4b820cdcc46cc6cde16503c.svg?commit=main" alt="Build status" /></a></td></tr>
</tbody></table> </tbody></table>
<h2 id="overview"><a class="header" href="#overview">Overview</a></h2> <h2 id="overview"><a class="header" href="#overview">Overview</a></h2>
<p>Rules ForeignCc is designed to help users build projects that are not built by Bazel and also <p>Rules ForeignCc is designed to help users build projects that are not built by Bazel and also
@ -168,8 +168,8 @@ http_archive(
# release on the releases page: https://github.com/bazelbuild/rules_foreign_cc/releases # release on the releases page: https://github.com/bazelbuild/rules_foreign_cc/releases
# #
# sha256 = &quot;...&quot;, # sha256 = &quot;...&quot;,
strip_prefix = &quot;rules_foreign_cc-bb2f0ab0aa7bf1cbcd4836dbfca353f06fd38c41&quot;, strip_prefix = &quot;rules_foreign_cc-93d7c272cc407743c1be686bb59e8a206bed5179&quot;,
url = &quot;https://github.com/bazelbuild/rules_foreign_cc/archive/bb2f0ab0aa7bf1cbcd4836dbfca353f06fd38c41.tar.gz&quot;, url = &quot;https://github.com/bazelbuild/rules_foreign_cc/archive/93d7c272cc407743c1be686bb59e8a206bed5179.tar.gz&quot;,
) )
load(&quot;@rules_foreign_cc//foreign_cc:repositories.bzl&quot;, &quot;rules_foreign_cc_dependencies&quot;) load(&quot;@rules_foreign_cc//foreign_cc:repositories.bzl&quot;, &quot;rules_foreign_cc_dependencies&quot;)
@ -681,12 +681,13 @@ make(<a href="flatten.html#make-name">name</a>, <a href="flatten.html#make-addit
<p><a id="#make_tool"></a></p> <p><a id="#make_tool"></a></p>
<h2 id="make_tool"><a class="header" href="#make_tool">make_tool</a></h2> <h2 id="make_tool"><a class="header" href="#make_tool">make_tool</a></h2>
<pre> <pre>
make_tool(<a href="flatten.html#make_tool-name">name</a>, <a href="flatten.html#make_tool-srcs">srcs</a>) make_tool(<a href="flatten.html#make_tool-name">name</a>, <a href="flatten.html#make_tool-env">env</a>, <a href="flatten.html#make_tool-srcs">srcs</a>)
</pre> </pre>
<p>Rule for building Make. Invokes configure script and make install.</p> <p>Rule for building Make. Invokes configure script and make install.</p>
<p><strong>ATTRIBUTES</strong></p> <p><strong>ATTRIBUTES</strong></p>
<table><thead><tr><th align="left">Name</th><th align="left">Description</th><th align="left">Type</th><th align="left">Mandatory</th><th align="left">Default</th></tr></thead><tbody> <table><thead><tr><th align="left">Name</th><th align="left">Description</th><th align="left">Type</th><th align="left">Mandatory</th><th align="left">Default</th></tr></thead><tbody>
<tr><td align="left"><a id="make_tool-name"></a>name</td><td align="left">A unique name for this target.</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#name">Name</a></td><td align="left">required</td><td align="left"></td></tr> <tr><td align="left"><a id="make_tool-name"></a>name</td><td align="left">A unique name for this target.</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#name">Name</a></td><td align="left">required</td><td align="left"></td></tr>
<tr><td align="left"><a id="make_tool-env"></a>env</td><td align="left">Environment variables to set during the build.</td><td align="left"><a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -&gt; String</a></td><td align="left">optional</td><td align="left">{}</td></tr>
<tr><td align="left"><a id="make_tool-srcs"></a>srcs</td><td align="left">The target containing the build tool's sources</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#labels">Label</a></td><td align="left">required</td><td align="left"></td></tr> <tr><td align="left"><a id="make_tool-srcs"></a>srcs</td><td align="left">The target containing the build tool's sources</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#labels">Label</a></td><td align="left">required</td><td align="left"></td></tr>
</tbody></table> </tbody></table>
<p><a id="#native_tool_toolchain"></a></p> <p><a id="#native_tool_toolchain"></a></p>
@ -744,12 +745,13 @@ ninja(<a href="flatten.html#ninja-name">name</a>, <a href="flatten.html#ninja-ad
<p><a id="#ninja_tool"></a></p> <p><a id="#ninja_tool"></a></p>
<h2 id="ninja_tool"><a class="header" href="#ninja_tool">ninja_tool</a></h2> <h2 id="ninja_tool"><a class="header" href="#ninja_tool">ninja_tool</a></h2>
<pre> <pre>
ninja_tool(<a href="flatten.html#ninja_tool-name">name</a>, <a href="flatten.html#ninja_tool-srcs">srcs</a>) ninja_tool(<a href="flatten.html#ninja_tool-name">name</a>, <a href="flatten.html#ninja_tool-env">env</a>, <a href="flatten.html#ninja_tool-srcs">srcs</a>)
</pre> </pre>
<p>Rule for building Ninja. Invokes configure script.</p> <p>Rule for building Ninja. Invokes configure script.</p>
<p><strong>ATTRIBUTES</strong></p> <p><strong>ATTRIBUTES</strong></p>
<table><thead><tr><th align="left">Name</th><th align="left">Description</th><th align="left">Type</th><th align="left">Mandatory</th><th align="left">Default</th></tr></thead><tbody> <table><thead><tr><th align="left">Name</th><th align="left">Description</th><th align="left">Type</th><th align="left">Mandatory</th><th align="left">Default</th></tr></thead><tbody>
<tr><td align="left"><a id="ninja_tool-name"></a>name</td><td align="left">A unique name for this target.</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#name">Name</a></td><td align="left">required</td><td align="left"></td></tr> <tr><td align="left"><a id="ninja_tool-name"></a>name</td><td align="left">A unique name for this target.</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#name">Name</a></td><td align="left">required</td><td align="left"></td></tr>
<tr><td align="left"><a id="ninja_tool-env"></a>env</td><td align="left">Environment variables to set during the build.</td><td align="left"><a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -&gt; String</a></td><td align="left">optional</td><td align="left">{}</td></tr>
<tr><td align="left"><a id="ninja_tool-srcs"></a>srcs</td><td align="left">The target containing the build tool's sources</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#labels">Label</a></td><td align="left">required</td><td align="left"></td></tr> <tr><td align="left"><a id="ninja_tool-srcs"></a>srcs</td><td align="left">The target containing the build tool's sources</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#labels">Label</a></td><td align="left">required</td><td align="left"></td></tr>
</tbody></table> </tbody></table>
<p><a id="#ForeignCcArtifactInfo"></a></p> <p><a id="#ForeignCcArtifactInfo"></a></p>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long