Skip to content

Commit 7e746e8

Browse files
authored
Merge pull request #2285 from coqui-ai/docs-fix-w1
Update BUILDING.rst
2 parents f6047ae + aadadd7 commit 7e746e8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/BUILDING.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ It is strongly recommended that you always use our pre-built 🐸STT binaries (a
99

1010
If you would still like to build the 🐸STT binaries yourself, you'll need the following pre-requisites downloaded and installed:
1111

12-
* `Bazel 4.2.1 <https://bazel.build/install/bazelisk>`_
12+
* `Bazel 5.0.0 <https://bazel.build/install/bazelisk>`_ (or `Bazelisk <https://github.com/bazelbuild/bazelisk>`__)
1313
* `General TensorFlow r2.3 requirements <https://www.tensorflow.org/install/source#tested_build_configurations>`_
1414
* `libsox <https://sourceforge.net/projects/sox/>`_
1515

@@ -47,7 +47,7 @@ Clone 🐸STT source code (TensorFlow will come as a submdule):
4747
Bazel: Download & Install
4848
^^^^^^^^^^^^^^^^^^^^^^^^^
4949

50-
First, install Bazel 3.1.0 following the `Bazel installation documentation <https://docs.bazel.build/versions/3.1.0/install.html>`_.
50+
First, install Bazel 5.0.0 following the `Bazel installation documentation <https://docs.bazel.build/versions/5.0.0/install.html>`_ or alternatively using `Bazelisk <https://docs.bazel.build/versions/main/install-bazelisk.html>`_.
5151

5252
TensorFlow: Configure with Bazel
5353
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -158,7 +158,7 @@ To build the ``coqui_stt_ctcdecoder`` package, you'll need the general requireme
158158
Building CTC Decoder for training on unsupported platforms
159159
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
160160

161-
We only support building CTC Decoder on x86-64 architectures. However, we offer some hints on building the CTC decoder on other architectures, and you might find some help in our `GitHub Discussions <https://github.com/coqui-ai/STT/discussions>`.
161+
We only support building CTC Decoder on x86-64 architectures. However, we offer some hints on building the CTC decoder on other architectures, and you might find some help in our `GitHub Discussions <https://github.com/coqui-ai/STT/discussions>`_.
162162

163163
Feedback on improving this section or usage on other architectures is welcome.
164164

@@ -188,22 +188,22 @@ RPi3 ARMv7 and LePotato ARM64
188188

189189
We support cross-compilation from Linux hosts. The following ``--config`` flags can be specified when building with bazel:
190190

191-
* ``--config=rpi3_opt`` for Raspbian / ARMv7
192-
* ``--config=rpi3-armv8_opt`` for ARMBian / ARM64
191+
* ``--config=elinux_armhf`` for Raspbian / ARMv7
192+
* ``--config=elinux_aarch64`` for ARMBian / ARM64
193193

194194
So your command line for ``RPi3`` and ``ARMv7`` should look like:
195195

196196
.. code-block::
197197
198-
bazel build --workspace_status_command="bash native_client/bazel_workspace_status_cmd.sh" -c opt --config=rpi3_opt //native_client:libstt.so
198+
bazel build --workspace_status_command="bash native_client/bazel_workspace_status_cmd.sh" -c opt --config=elinux_armhf //native_client:libstt.so
199199
200200
And your command line for ``LePotato`` and ``ARM64`` should look like:
201201

202202
.. code-block::
203203
204-
bazel build --workspace_status_command="bash native_client/bazel_workspace_status_cmd.sh" -c opt --config=rpi3-armv8_opt //native_client:libstt.so
204+
bazel build --workspace_status_command="bash native_client/bazel_workspace_status_cmd.sh" -c opt --config=elinux_aarch64 //native_client:libstt.so
205205
206-
While we test only on RPi3 Raspbian Buster and LePotato ARMBian Buster, anything compatible with ``armv7-a cortex-a53`` or ``armv8-a cortex-a53`` should be fine.
206+
While we test only on RPi3 Raspbian Buster and LePotato ARMBian Bullseye, anything compatible with ``armv7-a cortex-a53`` or ``armv8-a cortex-a53`` should be fine.
207207

208208
The ``stt`` binary can also be cross-built, with ``TARGET=rpi3`` or ``TARGET=rpi3-armv8``. This might require you to setup a system tree using the tool ``multistrap`` and the multitrap configuration files: ``native_client/multistrap_armbian64_buster.conf`` and ``native_client/multistrap_raspbian_buster.conf``.
209209
The path of the system tree can be overridden from the default values defined in ``definitions.mk`` through the ``RASPBIAN`` ``make`` variable.

0 commit comments

Comments
 (0)