From aec81bc0488bbbeaa4fea532a38c9315db22503b Mon Sep 17 00:00:00 2001 From: NanoNabla <43477372+NanoNabla@users.noreply.github.com> Date: Thu, 21 Jan 2021 10:52:26 +0100 Subject: [PATCH] add hints for building ctcdecode on unsupported platforms --- doc/BUILDING.rst | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/doc/BUILDING.rst b/doc/BUILDING.rst index 59f1a3b9..5fa9a6cb 100644 --- a/doc/BUILDING.rst +++ b/doc/BUILDING.rst @@ -327,3 +327,33 @@ much performance gains do you get in your applications, how you had to change the model to make it work with a delegate, etc. See :ref:`the support / contact details ` + + +Building CTC Decoder for training on unsupported platforms +---------------------------------------------------------- +Alongside linux on x86 and arm, macOS and windows there also exists a lot of +other architectures which are not offically supported by the DeepSpeech team. + +Nevertheless, we offer some hits for other architectures provided by users. +If you have problems, ask in our `discourse `. + +Feedback on improving this section or usage on other architectures is welcome. + +Since, * `SWIG >= 3.0.12 `_ does not include our patches please use +https://github.com/lissyx/swig/tree/taskcluster for building SWIG from source. + +You can supply your prebuild SWIG using ``SWIG_DIST_URL`` + +Moreover you may have to change ``PYTHON_PLATFORM_NAME`` corresponding to your platform. + +.. code-block:: + + # PowerPC (ppc64le) + PYTHON_PLATFORM_NAME="--plat-name linux_ppc64le" + + +Complete build command: + +.. code-block:: + + SWIG_DIST_URL=[...] PYTHON_PLATFORM_NAME=[...] make bindings \ No newline at end of file