Commit Graph

44 Commits

Author SHA1 Message Date
Reuben Morais
09b756aa0c
Merge pull request #2951 from mozilla/hack-mac-sox-static
Ugly, very ugly, incredibly ugly static linking of libsox on macOS
2020-04-29 14:16:39 +02:00
Reuben Morais
ea7475d09c Ugly, very ugly, incredibly ugly static linking of libsox on macOS
All of the brew installed dependencies have static libraries as well, but the macOS linker will always prefer a dynamic library if both exist under the same `-L/foo -lbar` resolution. The only way to force static linking is to include a full path to the static library. These changes basically reverse engineer the static library locations and then pass those to the linker.
2020-04-28 14:13:53 +02:00
Julien Schueller
1eed145aa1
Install deepspeech header 2020-04-26 09:19:03 +02:00
Alexandre Lissy
7d1663b1c5 Generate one-time Homebrew tarball 2020-02-20 11:46:43 +01:00
Alexandre Lissy
dfe8be30b4 Move to ARMbian Buster
Fixes #2310
2019-08-21 22:58:10 +02:00
Alexandre Lissy
eca7882b14 Remove useless make target 'bindings-clean'
Fixes #2175
2019-07-19 17:39:56 +02:00
Alexandre Lissy
75149f33df Building on Windows
Fixes #1793
Fixes #1794
2019-03-12 22:21:01 +01:00
Alexandre Lissy
e5c188c514 Cleanup and move Python binding in subdir 2018-10-09 15:23:30 +02:00
Reuben Morais
ae9c62cae9 Convert native API to C instead of C++ 2018-08-02 13:22:24 -03:00
Reuben Morais
400c9c0e5d Streaming inference 2018-08-02 13:22:24 -03:00
Alexandre Lissy
646c9178cf Non positionnal arguments. Everywhere.
Fixes #1443
2018-07-04 17:12:52 +02:00
Alexandre Lissy
378663d991 Improve packages docs references and links
Fixes #1376
2018-05-07 19:26:19 +02:00
Alexandre Lissy
4e53683c43 Add ARM64 builds 2018-04-19 11:36:53 +02:00
Alexandre Lissy
8382791536 Fix jessie to stretch naming 2018-04-18 16:07:40 +02:00
Alexandre Lissy
021de3c2a7 Enable C++, NodeJS tests on RPi3
Fixes #1303
2018-04-16 11:35:54 +02:00
Alexandre Lissy
ade66b015d Build TensorFlow as monolithic into libdeepspeech.so
Also limit the set of included Ops to avoid wasting size.
2018-01-31 16:53:57 +01:00
Alexandre Lissy
968c22c392 Avoid over-linking deepspeech.utils Python wrapper
Fixes #1116
2017-12-19 20:33:10 +01:00
lparam
b0aa0043dd Add missing libtensorflow_framework.so 2017-12-08 10:41:29 +08:00
Alexandre Lissy
8661d482c8 Improve OSX linkage
Fixes #1051
2017-12-05 11:07:18 +01:00
Alexandre Lissy
5b0ca1e410 Update to TensorFlow r1.4
Fixes #959
2017-11-30 18:51:13 +01:00
Alexandre Lissy
a26e0d8fa4 Ensure _model.so and _utils.so are inside DeepSpeech package
Fixes #1001
2017-11-22 16:12:01 +01:00
Reuben Morais
92e53a7a06 Add -gpu prefix to CUDA enabled packages 2017-11-17 18:26:32 +01:00
Alexandre Lissy
08f01c1727 Bundle libs into Python/NodeJS bindings packages
Fixes #908
2017-11-03 16:22:48 +01:00
Alexandre Lissy
ddb94585cc Use sox include/link flags only on deepspeech binary
Fixes #935
2017-11-02 16:24:04 +01:00
Alexandre Lissy
20e0138900 Prebuilt ARM Python & NodeJS bindings
Fixes #915
2017-10-31 15:43:49 +01:00
Reuben Morais
7c2b7c9b47 Make sure building the Python binding does not try to create directory "build" 2017-10-25 17:09:42 -02:00
Alexandre Lissy
42075082be Cleanup makefile
Fixes #874
2017-10-06 11:35:53 +02:00
Alexandre Lissy
fd1f9ede81 Building Python bindings for Py2.7, Py3.4, Py3.5 and Py3.6
Fixes #743
2017-08-10 20:01:46 +02:00
Alexandre Lissy
f70dcab26a Building NodeJS packages for Node v4.x, v5.x, v6.x
Fixes #743
2017-08-10 20:01:46 +02:00
Alexandre Lissy
6a55aaf2d1 Invalid link order result in linker failure #735 2017-07-26 10:49:56 +02:00
Alexandre Lissy
66f9c4d481 Use libtensorflow_cc for C++ API 2017-06-28 20:57:12 +02:00
Alexandre Lissy
938f8c7755 Avoid stripping during install
strip triggers issues on OSX:
/Library/Developer/CommandLineTools/usr/bin/strip: symbols referenced by
indirect symbol table entries that can't be stripped in:
/usr/local/lib/libtensorflow.so

Let's disable strip on install, we can always hand-strip if it is really
useful.

Fixes #635
2017-06-28 18:27:30 +02:00
Chris Lord
91c682eac0 Use deepspeech Python library in util/audio.py
Deprecate duplicated code and use libdeepspeech for consistency and speed.
2017-06-27 10:16:54 +01:00
Chris Lord
d829eb4436 Split audioToInputVector into a separate library
Split out functions that don't depend on TensorFlow into a separate
library to avoid opening the TensorFlow library if it's not necessary.
2017-06-27 10:16:54 +01:00
Chris Lord
57d105f5e9 Install deepspeech binary as well as libraries 2017-05-17 12:01:12 +01:00
Chris Lord
08deda2b92 Improve build process and instructions to fix performance issues
Certain optimisations that TensorFlow recommends cause significant
performance penalties in c_speech_features. Explicitly disable these
features in the BUILD file only for c_speech_features.

The build has been restructured to produce a single deepspeech library,
rather than 3 separate deepspeech, c_speech_features and kissfft
libaries. This should make the deepspeech client and libraries
significantly easier to use and distribute.
2017-05-17 10:52:14 +01:00
Chris Lord
10068fc40e Add libdeepspeech python bindings 2017-05-02 10:41:59 +01:00
Alexandre Lissy
4eb42f1d8e Building DeepSpeech on TaskCluster 2017-04-10 18:35:08 +02:00
Kelly Davis
7ea0915ba5 Addressed review comment 2017-03-27 17:48:19 +02:00
Kelly Davis
a93be68e2f Fixed #460 2017-03-25 18:32:22 +01:00
Alexandre Lissy
cc1c85ea46 Fix libaries ordering for linker
Fixes #453
2017-03-22 17:20:10 +01:00
Alexandre Lissy
bf588211c5 Support RPi toolchain cross-compilation of native client
Fixes #451
2017-03-22 15:50:54 +01:00
Chris Lord
910a664aa8 Separate libdeepspeech/c_speech_features/kissfft library builds
Build separate libraries for kissfft, c_speech_features and libdeepspeech.
This allows us to specify c99 for c_speech_features and should fix
issue #441.
2017-03-22 13:30:55 +00:00
Chris Lord
2740336d08 Implement a native client using TensorFlow C API 2017-02-23 16:35:44 +00:00