I have just tried to build Deep Speech from source.
pwd
shows that I am in the native_client
directory. DeepSpeech
and tensorflow
are in adjacent directories.
This appears to instruct the build system to build the binaries:
bazel build -c opt --copt=-O3 //tensorflow:libtensorflow_cc.so //tensorflow:libtensorflow_framework.so //native_client:deepspeech //native_client:deepspeech_utils //native_client:libctc_decoder_with_kenlm.so //native_client:generate_trie
Running the above results in:
ERROR: The 'build' command is only supported from within a workspace.
To get further, I have tried to touch ../WORKSPACE
and touch WORKSPACE
. This gives me new errors.