deploy: 3b72ab3468
This commit is contained in:
parent
ea5c413b7b
commit
49149f0637
|
@ -310,11 +310,11 @@ configure_make(<a href="#configure_make-name">name</a>, <a href="#configure_make
|
|||
<h2 id="make"><a class="header" href="#make">make</a></h2>
|
||||
<pre>
|
||||
make(<a href="#make-name">name</a>, <a href="#make-additional_inputs">additional_inputs</a>, <a href="#make-additional_tools">additional_tools</a>, <a href="#make-alwayslink">alwayslink</a>, <a href="#make-args">args</a>, <a href="#make-build_data">build_data</a>, <a href="#make-copts">copts</a>, <a href="#make-data">data</a>, <a href="#make-defines">defines</a>,
|
||||
<a href="#make-deps">deps</a>, <a href="#make-env">env</a>, <a href="#make-lib_name">lib_name</a>, <a href="#make-lib_source">lib_source</a>, <a href="#make-linkopts">linkopts</a>, <a href="#make-out_bin_dir">out_bin_dir</a>, <a href="#make-out_binaries">out_binaries</a>, <a href="#make-out_data_dirs">out_data_dirs</a>,
|
||||
<a href="#make-out_headers_only">out_headers_only</a>, <a href="#make-out_include_dir">out_include_dir</a>, <a href="#make-out_interface_libs">out_interface_libs</a>, <a href="#make-out_lib_dir">out_lib_dir</a>, <a href="#make-out_shared_libs">out_shared_libs</a>,
|
||||
<a href="#make-out_static_libs">out_static_libs</a>, <a href="#make-postfix_script">postfix_script</a>, <a href="#make-targets">targets</a>, <a href="#make-tool_prefix">tool_prefix</a>, <a href="#make-tools_deps">tools_deps</a>)
|
||||
<a href="#make-deps">deps</a>, <a href="#make-env">env</a>, <a href="#make-install_prefix">install_prefix</a>, <a href="#make-lib_name">lib_name</a>, <a href="#make-lib_source">lib_source</a>, <a href="#make-linkopts">linkopts</a>, <a href="#make-out_bin_dir">out_bin_dir</a>, <a href="#make-out_binaries">out_binaries</a>,
|
||||
<a href="#make-out_data_dirs">out_data_dirs</a>, <a href="#make-out_headers_only">out_headers_only</a>, <a href="#make-out_include_dir">out_include_dir</a>, <a href="#make-out_interface_libs">out_interface_libs</a>, <a href="#make-out_lib_dir">out_lib_dir</a>,
|
||||
<a href="#make-out_shared_libs">out_shared_libs</a>, <a href="#make-out_static_libs">out_static_libs</a>, <a href="#make-postfix_script">postfix_script</a>, <a href="#make-targets">targets</a>, <a href="#make-tool_prefix">tool_prefix</a>, <a href="#make-tools_deps">tools_deps</a>)
|
||||
</pre>
|
||||
<p>Rule for building external libraries with GNU Make. GNU Make commands (make and make install by default) are invoked with prefix="install" (by default), and other environment variables for compilation and linking, taken from Bazel C/C++ toolchain and passed dependencies.</p>
|
||||
<p>Rule for building external libraries with GNU Make. GNU Make commands (make and make install by default) are invoked with PREFIX="install" (by default), and other environment variables for compilation and linking, taken from Bazel C/C++ toolchain and passed dependencies.</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>
|
||||
<tr><td align="left"><a id="make-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>
|
||||
|
@ -328,6 +328,7 @@ make(<a href="#make-name">name</a>, <a href="#make-additional_inputs">additional
|
|||
<tr><td align="left"><a id="make-defines"></a>defines</td><td align="left">Optional compilation definitions to be passed to the dependencies of this library. They are NOT passed to the compiler, you should duplicate them in the configuration options.</td><td align="left">List of strings</td><td align="left">optional</td><td align="left">[]</td></tr>
|
||||
<tr><td align="left"><a id="make-deps"></a>deps</td><td align="left">Optional dependencies to be copied into the directory structure. Typically those directly required for the external building of the library/binaries. (i.e. those that the external build system will be looking for and paths to which are provided by the calling rule)</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#labels">List of labels</a></td><td align="left">optional</td><td align="left">[]</td></tr>
|
||||
<tr><td align="left"><a id="make-env"></a>env</td><td align="left">Environment variables to set during the build. <code>$(execpath)</code> macros may be used to point at files which are listed as <code>data</code>, <code>deps</code>, or <code>build_data</code>, but unlike with other rules, these will be replaced with absolute paths to those files, because the build does not run in the exec root. No other macros are supported.Variables containing <code>PATH</code> (e.g. <code>PATH</code>, <code>LD_LIBRARY_PATH</code>, <code>CPATH</code>) entries will be prepended to the existing variable.</td><td align="left"><a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a></td><td align="left">optional</td><td align="left">{}</td></tr>
|
||||
<tr><td align="left"><a id="make-install_prefix"></a>install_prefix</td><td align="left">Install prefix, i.e. relative path to where to install the result of the build. Passed as an arg to "make" as PREFIX=<install_prefix>.</td><td align="left">String</td><td align="left">optional</td><td align="left">"$$INSTALLDIR$$"</td></tr>
|
||||
<tr><td align="left"><a id="make-lib_name"></a>lib_name</td><td align="left">Library name. Defines the name of the install directory and the name of the static library, if no output files parameters are defined (any of static_libraries, shared_libraries, interface_libraries, binaries_names) Optional. If not defined, defaults to the target's name.</td><td align="left">String</td><td align="left">optional</td><td align="left">""</td></tr>
|
||||
<tr><td align="left"><a id="make-lib_source"></a>lib_source</td><td align="left">Label with source code to build. Typically a filegroup for the source of remote repository. Mandatory.</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-linkopts"></a>linkopts</td><td align="left">Optional link options to be passed up to the dependencies of this library</td><td align="left">List of strings</td><td align="left">optional</td><td align="left">[]</td></tr>
|
||||
|
|
|
@ -149,7 +149,7 @@
|
|||
<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>
|
||||
<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/db153c65c3f6b0b3228f44e84bae2d1c13adaf80">db153c6</a></td><td><a href="https://buildkite.com/bazel/rules-foreign-cc/builds?branch=main"><img src="https://badge.buildkite.com/c28afbf846e2077715c753dda1f4b820cdcc46cc6cde16503c.svg?branch=main" alt="Build status" /></a></td></tr>
|
||||
<tr><td>main</td><td><a href="https://github.com/bazelbuild/rules_foreign_cc/commit/3b72ab3468cc8b101352dbe681353a2f8821a057">3b72ab3</a></td><td><a href="https://buildkite.com/bazel/rules-foreign-cc/builds?branch=main"><img src="https://badge.buildkite.com/c28afbf846e2077715c753dda1f4b820cdcc46cc6cde16503c.svg?branch=main" alt="Build status" /></a></td></tr>
|
||||
</tbody></table>
|
||||
<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
|
||||
|
@ -167,8 +167,8 @@ http_archive(
|
|||
# release on the releases page: https://github.com/bazelbuild/rules_foreign_cc/releases
|
||||
#
|
||||
# sha256 = "...",
|
||||
strip_prefix = "rules_foreign_cc-db153c65c3f6b0b3228f44e84bae2d1c13adaf80",
|
||||
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/db153c65c3f6b0b3228f44e84bae2d1c13adaf80.tar.gz",
|
||||
strip_prefix = "rules_foreign_cc-3b72ab3468cc8b101352dbe681353a2f8821a057",
|
||||
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/3b72ab3468cc8b101352dbe681353a2f8821a057.tar.gz",
|
||||
)
|
||||
|
||||
load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies")
|
||||
|
|
|
@ -152,11 +152,11 @@
|
|||
<h2 id="make"><a class="header" href="#make">make</a></h2>
|
||||
<pre>
|
||||
make(<a href="#make-name">name</a>, <a href="#make-additional_inputs">additional_inputs</a>, <a href="#make-additional_tools">additional_tools</a>, <a href="#make-alwayslink">alwayslink</a>, <a href="#make-args">args</a>, <a href="#make-build_data">build_data</a>, <a href="#make-copts">copts</a>, <a href="#make-data">data</a>, <a href="#make-defines">defines</a>,
|
||||
<a href="#make-deps">deps</a>, <a href="#make-env">env</a>, <a href="#make-lib_name">lib_name</a>, <a href="#make-lib_source">lib_source</a>, <a href="#make-linkopts">linkopts</a>, <a href="#make-out_bin_dir">out_bin_dir</a>, <a href="#make-out_binaries">out_binaries</a>, <a href="#make-out_data_dirs">out_data_dirs</a>,
|
||||
<a href="#make-out_headers_only">out_headers_only</a>, <a href="#make-out_include_dir">out_include_dir</a>, <a href="#make-out_interface_libs">out_interface_libs</a>, <a href="#make-out_lib_dir">out_lib_dir</a>, <a href="#make-out_shared_libs">out_shared_libs</a>,
|
||||
<a href="#make-out_static_libs">out_static_libs</a>, <a href="#make-postfix_script">postfix_script</a>, <a href="#make-targets">targets</a>, <a href="#make-tool_prefix">tool_prefix</a>, <a href="#make-tools_deps">tools_deps</a>)
|
||||
<a href="#make-deps">deps</a>, <a href="#make-env">env</a>, <a href="#make-install_prefix">install_prefix</a>, <a href="#make-lib_name">lib_name</a>, <a href="#make-lib_source">lib_source</a>, <a href="#make-linkopts">linkopts</a>, <a href="#make-out_bin_dir">out_bin_dir</a>, <a href="#make-out_binaries">out_binaries</a>,
|
||||
<a href="#make-out_data_dirs">out_data_dirs</a>, <a href="#make-out_headers_only">out_headers_only</a>, <a href="#make-out_include_dir">out_include_dir</a>, <a href="#make-out_interface_libs">out_interface_libs</a>, <a href="#make-out_lib_dir">out_lib_dir</a>,
|
||||
<a href="#make-out_shared_libs">out_shared_libs</a>, <a href="#make-out_static_libs">out_static_libs</a>, <a href="#make-postfix_script">postfix_script</a>, <a href="#make-targets">targets</a>, <a href="#make-tool_prefix">tool_prefix</a>, <a href="#make-tools_deps">tools_deps</a>)
|
||||
</pre>
|
||||
<p>Rule for building external libraries with GNU Make. GNU Make commands (make and make install by default) are invoked with prefix="install" (by default), and other environment variables for compilation and linking, taken from Bazel C/C++ toolchain and passed dependencies.</p>
|
||||
<p>Rule for building external libraries with GNU Make. GNU Make commands (make and make install by default) are invoked with PREFIX="install" (by default), and other environment variables for compilation and linking, taken from Bazel C/C++ toolchain and passed dependencies.</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>
|
||||
<tr><td align="left"><a id="make-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>
|
||||
|
@ -170,6 +170,7 @@ make(<a href="#make-name">name</a>, <a href="#make-additional_inputs">additional
|
|||
<tr><td align="left"><a id="make-defines"></a>defines</td><td align="left">Optional compilation definitions to be passed to the dependencies of this library. They are NOT passed to the compiler, you should duplicate them in the configuration options.</td><td align="left">List of strings</td><td align="left">optional</td><td align="left">[]</td></tr>
|
||||
<tr><td align="left"><a id="make-deps"></a>deps</td><td align="left">Optional dependencies to be copied into the directory structure. Typically those directly required for the external building of the library/binaries. (i.e. those that the external build system will be looking for and paths to which are provided by the calling rule)</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#labels">List of labels</a></td><td align="left">optional</td><td align="left">[]</td></tr>
|
||||
<tr><td align="left"><a id="make-env"></a>env</td><td align="left">Environment variables to set during the build. <code>$(execpath)</code> macros may be used to point at files which are listed as <code>data</code>, <code>deps</code>, or <code>build_data</code>, but unlike with other rules, these will be replaced with absolute paths to those files, because the build does not run in the exec root. No other macros are supported.Variables containing <code>PATH</code> (e.g. <code>PATH</code>, <code>LD_LIBRARY_PATH</code>, <code>CPATH</code>) entries will be prepended to the existing variable.</td><td align="left"><a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a></td><td align="left">optional</td><td align="left">{}</td></tr>
|
||||
<tr><td align="left"><a id="make-install_prefix"></a>install_prefix</td><td align="left">Install prefix, i.e. relative path to where to install the result of the build. Passed as an arg to "make" as PREFIX=<install_prefix>.</td><td align="left">String</td><td align="left">optional</td><td align="left">"$$INSTALLDIR$$"</td></tr>
|
||||
<tr><td align="left"><a id="make-lib_name"></a>lib_name</td><td align="left">Library name. Defines the name of the install directory and the name of the static library, if no output files parameters are defined (any of static_libraries, shared_libraries, interface_libraries, binaries_names) Optional. If not defined, defaults to the target's name.</td><td align="left">String</td><td align="left">optional</td><td align="left">""</td></tr>
|
||||
<tr><td align="left"><a id="make-lib_source"></a>lib_source</td><td align="left">Label with source code to build. Typically a filegroup for the source of remote repository. Mandatory.</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-linkopts"></a>linkopts</td><td align="left">Optional link options to be passed up to the dependencies of this library</td><td align="left">List of strings</td><td align="left">optional</td><td align="left">[]</td></tr>
|
||||
|
|
|
@ -150,7 +150,7 @@
|
|||
<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>
|
||||
<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/db153c65c3f6b0b3228f44e84bae2d1c13adaf80">db153c6</a></td><td><a href="https://buildkite.com/bazel/rules-foreign-cc/builds?branch=main"><img src="https://badge.buildkite.com/c28afbf846e2077715c753dda1f4b820cdcc46cc6cde16503c.svg?branch=main" alt="Build status" /></a></td></tr>
|
||||
<tr><td>main</td><td><a href="https://github.com/bazelbuild/rules_foreign_cc/commit/3b72ab3468cc8b101352dbe681353a2f8821a057">3b72ab3</a></td><td><a href="https://buildkite.com/bazel/rules-foreign-cc/builds?branch=main"><img src="https://badge.buildkite.com/c28afbf846e2077715c753dda1f4b820cdcc46cc6cde16503c.svg?branch=main" alt="Build status" /></a></td></tr>
|
||||
</tbody></table>
|
||||
<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
|
||||
|
@ -168,8 +168,8 @@ http_archive(
|
|||
# release on the releases page: https://github.com/bazelbuild/rules_foreign_cc/releases
|
||||
#
|
||||
# sha256 = "...",
|
||||
strip_prefix = "rules_foreign_cc-db153c65c3f6b0b3228f44e84bae2d1c13adaf80",
|
||||
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/db153c65c3f6b0b3228f44e84bae2d1c13adaf80.tar.gz",
|
||||
strip_prefix = "rules_foreign_cc-3b72ab3468cc8b101352dbe681353a2f8821a057",
|
||||
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/3b72ab3468cc8b101352dbe681353a2f8821a057.tar.gz",
|
||||
)
|
||||
|
||||
load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies")
|
||||
|
@ -429,11 +429,11 @@ configure_make_variant(<a href="configure_make.html#configure_make_variant-name"
|
|||
<h2 id="make"><a class="header" href="#make">make</a></h2>
|
||||
<pre>
|
||||
make(<a href="make.html#make-name">name</a>, <a href="make.html#make-additional_inputs">additional_inputs</a>, <a href="make.html#make-additional_tools">additional_tools</a>, <a href="make.html#make-alwayslink">alwayslink</a>, <a href="make.html#make-args">args</a>, <a href="make.html#make-build_data">build_data</a>, <a href="make.html#make-copts">copts</a>, <a href="make.html#make-data">data</a>, <a href="make.html#make-defines">defines</a>,
|
||||
<a href="make.html#make-deps">deps</a>, <a href="make.html#make-env">env</a>, <a href="make.html#make-lib_name">lib_name</a>, <a href="make.html#make-lib_source">lib_source</a>, <a href="make.html#make-linkopts">linkopts</a>, <a href="make.html#make-out_bin_dir">out_bin_dir</a>, <a href="make.html#make-out_binaries">out_binaries</a>, <a href="make.html#make-out_data_dirs">out_data_dirs</a>,
|
||||
<a href="make.html#make-out_headers_only">out_headers_only</a>, <a href="make.html#make-out_include_dir">out_include_dir</a>, <a href="make.html#make-out_interface_libs">out_interface_libs</a>, <a href="make.html#make-out_lib_dir">out_lib_dir</a>, <a href="make.html#make-out_shared_libs">out_shared_libs</a>,
|
||||
<a href="make.html#make-out_static_libs">out_static_libs</a>, <a href="make.html#make-postfix_script">postfix_script</a>, <a href="make.html#make-targets">targets</a>, <a href="make.html#make-tool_prefix">tool_prefix</a>, <a href="make.html#make-tools_deps">tools_deps</a>)
|
||||
<a href="make.html#make-deps">deps</a>, <a href="make.html#make-env">env</a>, <a href="make.html#make-install_prefix">install_prefix</a>, <a href="make.html#make-lib_name">lib_name</a>, <a href="make.html#make-lib_source">lib_source</a>, <a href="make.html#make-linkopts">linkopts</a>, <a href="make.html#make-out_bin_dir">out_bin_dir</a>, <a href="make.html#make-out_binaries">out_binaries</a>,
|
||||
<a href="make.html#make-out_data_dirs">out_data_dirs</a>, <a href="make.html#make-out_headers_only">out_headers_only</a>, <a href="make.html#make-out_include_dir">out_include_dir</a>, <a href="make.html#make-out_interface_libs">out_interface_libs</a>, <a href="make.html#make-out_lib_dir">out_lib_dir</a>,
|
||||
<a href="make.html#make-out_shared_libs">out_shared_libs</a>, <a href="make.html#make-out_static_libs">out_static_libs</a>, <a href="make.html#make-postfix_script">postfix_script</a>, <a href="make.html#make-targets">targets</a>, <a href="make.html#make-tool_prefix">tool_prefix</a>, <a href="make.html#make-tools_deps">tools_deps</a>)
|
||||
</pre>
|
||||
<p>Rule for building external libraries with GNU Make. GNU Make commands (make and make install by default) are invoked with prefix="install" (by default), and other environment variables for compilation and linking, taken from Bazel C/C++ toolchain and passed dependencies.</p>
|
||||
<p>Rule for building external libraries with GNU Make. GNU Make commands (make and make install by default) are invoked with PREFIX="install" (by default), and other environment variables for compilation and linking, taken from Bazel C/C++ toolchain and passed dependencies.</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>
|
||||
<tr><td align="left"><a id="make-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>
|
||||
|
@ -447,6 +447,7 @@ make(<a href="make.html#make-name">name</a>, <a href="make.html#make-additional_
|
|||
<tr><td align="left"><a id="make-defines"></a>defines</td><td align="left">Optional compilation definitions to be passed to the dependencies of this library. They are NOT passed to the compiler, you should duplicate them in the configuration options.</td><td align="left">List of strings</td><td align="left">optional</td><td align="left">[]</td></tr>
|
||||
<tr><td align="left"><a id="make-deps"></a>deps</td><td align="left">Optional dependencies to be copied into the directory structure. Typically those directly required for the external building of the library/binaries. (i.e. those that the external build system will be looking for and paths to which are provided by the calling rule)</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#labels">List of labels</a></td><td align="left">optional</td><td align="left">[]</td></tr>
|
||||
<tr><td align="left"><a id="make-env"></a>env</td><td align="left">Environment variables to set during the build. <code>$(execpath)</code> macros may be used to point at files which are listed as <code>data</code>, <code>deps</code>, or <code>build_data</code>, but unlike with other rules, these will be replaced with absolute paths to those files, because the build does not run in the exec root. No other macros are supported.Variables containing <code>PATH</code> (e.g. <code>PATH</code>, <code>LD_LIBRARY_PATH</code>, <code>CPATH</code>) entries will be prepended to the existing variable.</td><td align="left"><a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a></td><td align="left">optional</td><td align="left">{}</td></tr>
|
||||
<tr><td align="left"><a id="make-install_prefix"></a>install_prefix</td><td align="left">Install prefix, i.e. relative path to where to install the result of the build. Passed as an arg to "make" as PREFIX=<install_prefix>.</td><td align="left">String</td><td align="left">optional</td><td align="left">"$$INSTALLDIR$$"</td></tr>
|
||||
<tr><td align="left"><a id="make-lib_name"></a>lib_name</td><td align="left">Library name. Defines the name of the install directory and the name of the static library, if no output files parameters are defined (any of static_libraries, shared_libraries, interface_libraries, binaries_names) Optional. If not defined, defaults to the target's name.</td><td align="left">String</td><td align="left">optional</td><td align="left">""</td></tr>
|
||||
<tr><td align="left"><a id="make-lib_source"></a>lib_source</td><td align="left">Label with source code to build. Typically a filegroup for the source of remote repository. Mandatory.</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-linkopts"></a>linkopts</td><td align="left">Optional link options to be passed up to the dependencies of this library</td><td align="left">List of strings</td><td align="left">optional</td><td align="left">[]</td></tr>
|
||||
|
@ -682,11 +683,11 @@ configure_make(<a href="flatten.html#configure_make-name">name</a>, <a href="fla
|
|||
<h2 id="make-1"><a class="header" href="#make-1">make</a></h2>
|
||||
<pre>
|
||||
make(<a href="flatten.html#make-name">name</a>, <a href="flatten.html#make-additional_inputs">additional_inputs</a>, <a href="flatten.html#make-additional_tools">additional_tools</a>, <a href="flatten.html#make-alwayslink">alwayslink</a>, <a href="flatten.html#make-args">args</a>, <a href="flatten.html#make-build_data">build_data</a>, <a href="flatten.html#make-copts">copts</a>, <a href="flatten.html#make-data">data</a>, <a href="flatten.html#make-defines">defines</a>,
|
||||
<a href="flatten.html#make-deps">deps</a>, <a href="flatten.html#make-env">env</a>, <a href="flatten.html#make-lib_name">lib_name</a>, <a href="flatten.html#make-lib_source">lib_source</a>, <a href="flatten.html#make-linkopts">linkopts</a>, <a href="flatten.html#make-out_bin_dir">out_bin_dir</a>, <a href="flatten.html#make-out_binaries">out_binaries</a>, <a href="flatten.html#make-out_data_dirs">out_data_dirs</a>,
|
||||
<a href="flatten.html#make-out_headers_only">out_headers_only</a>, <a href="flatten.html#make-out_include_dir">out_include_dir</a>, <a href="flatten.html#make-out_interface_libs">out_interface_libs</a>, <a href="flatten.html#make-out_lib_dir">out_lib_dir</a>, <a href="flatten.html#make-out_shared_libs">out_shared_libs</a>,
|
||||
<a href="flatten.html#make-out_static_libs">out_static_libs</a>, <a href="flatten.html#make-postfix_script">postfix_script</a>, <a href="flatten.html#make-targets">targets</a>, <a href="flatten.html#make-tool_prefix">tool_prefix</a>, <a href="flatten.html#make-tools_deps">tools_deps</a>)
|
||||
<a href="flatten.html#make-deps">deps</a>, <a href="flatten.html#make-env">env</a>, <a href="flatten.html#make-install_prefix">install_prefix</a>, <a href="flatten.html#make-lib_name">lib_name</a>, <a href="flatten.html#make-lib_source">lib_source</a>, <a href="flatten.html#make-linkopts">linkopts</a>, <a href="flatten.html#make-out_bin_dir">out_bin_dir</a>, <a href="flatten.html#make-out_binaries">out_binaries</a>,
|
||||
<a href="flatten.html#make-out_data_dirs">out_data_dirs</a>, <a href="flatten.html#make-out_headers_only">out_headers_only</a>, <a href="flatten.html#make-out_include_dir">out_include_dir</a>, <a href="flatten.html#make-out_interface_libs">out_interface_libs</a>, <a href="flatten.html#make-out_lib_dir">out_lib_dir</a>,
|
||||
<a href="flatten.html#make-out_shared_libs">out_shared_libs</a>, <a href="flatten.html#make-out_static_libs">out_static_libs</a>, <a href="flatten.html#make-postfix_script">postfix_script</a>, <a href="flatten.html#make-targets">targets</a>, <a href="flatten.html#make-tool_prefix">tool_prefix</a>, <a href="flatten.html#make-tools_deps">tools_deps</a>)
|
||||
</pre>
|
||||
<p>Rule for building external libraries with GNU Make. GNU Make commands (make and make install by default) are invoked with prefix="install" (by default), and other environment variables for compilation and linking, taken from Bazel C/C++ toolchain and passed dependencies.</p>
|
||||
<p>Rule for building external libraries with GNU Make. GNU Make commands (make and make install by default) are invoked with PREFIX="install" (by default), and other environment variables for compilation and linking, taken from Bazel C/C++ toolchain and passed dependencies.</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>
|
||||
<tr><td align="left"><a id="make-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>
|
||||
|
@ -700,6 +701,7 @@ make(<a href="flatten.html#make-name">name</a>, <a href="flatten.html#make-addit
|
|||
<tr><td align="left"><a id="make-defines"></a>defines</td><td align="left">Optional compilation definitions to be passed to the dependencies of this library. They are NOT passed to the compiler, you should duplicate them in the configuration options.</td><td align="left">List of strings</td><td align="left">optional</td><td align="left">[]</td></tr>
|
||||
<tr><td align="left"><a id="make-deps"></a>deps</td><td align="left">Optional dependencies to be copied into the directory structure. Typically those directly required for the external building of the library/binaries. (i.e. those that the external build system will be looking for and paths to which are provided by the calling rule)</td><td align="left"><a href="https://bazel.build/docs/build-ref.html#labels">List of labels</a></td><td align="left">optional</td><td align="left">[]</td></tr>
|
||||
<tr><td align="left"><a id="make-env"></a>env</td><td align="left">Environment variables to set during the build. <code>$(execpath)</code> macros may be used to point at files which are listed as <code>data</code>, <code>deps</code>, or <code>build_data</code>, but unlike with other rules, these will be replaced with absolute paths to those files, because the build does not run in the exec root. No other macros are supported.Variables containing <code>PATH</code> (e.g. <code>PATH</code>, <code>LD_LIBRARY_PATH</code>, <code>CPATH</code>) entries will be prepended to the existing variable.</td><td align="left"><a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a></td><td align="left">optional</td><td align="left">{}</td></tr>
|
||||
<tr><td align="left"><a id="make-install_prefix"></a>install_prefix</td><td align="left">Install prefix, i.e. relative path to where to install the result of the build. Passed as an arg to "make" as PREFIX=<install_prefix>.</td><td align="left">String</td><td align="left">optional</td><td align="left">"$$INSTALLDIR$$"</td></tr>
|
||||
<tr><td align="left"><a id="make-lib_name"></a>lib_name</td><td align="left">Library name. Defines the name of the install directory and the name of the static library, if no output files parameters are defined (any of static_libraries, shared_libraries, interface_libraries, binaries_names) Optional. If not defined, defaults to the target's name.</td><td align="left">String</td><td align="left">optional</td><td align="left">""</td></tr>
|
||||
<tr><td align="left"><a id="make-lib_source"></a>lib_source</td><td align="left">Label with source code to build. Typically a filegroup for the source of remote repository. Mandatory.</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-linkopts"></a>linkopts</td><td align="left">Optional link options to be passed up to the dependencies of this library</td><td align="left">List of strings</td><td align="left">optional</td><td align="left">[]</td></tr>
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue