- Mar 24, 2014
-
-
Dogan Can authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3797 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
- Mar 09, 2014
-
-
Dogan Can authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3750 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
This commit adds support for vanilla gcc (not the gcc binary that comes with Xcode command line tools which is clang in disguise) on Mac OS 10.9. Specifically: 1. Adds -stdlib=libstdc++ option only when compiling with clang since vanilla gcc does not recognize this option. 2. Removes the -rdynamic option from src/makefiles/darwin_10_9.mk since it was causing an undefined option error with vanilla gcc on Mac OS 10.9. This worked in the past because Apple's gcc compiler was silently ignoring the -rdynamic option (it is for ELF binaries only). Apparently the behavior enabled by this option, adding all symbols to the dynamic symbol table, is the default behavior on Darwin. 3. Adds -flax-vector-conversions option when compiling with vanilla gcc. This tells recent versions of gcc to allow vector conversions without an explicit cast provided the vectors are of the same size. 4. Defines CC to be the same compiler as CXX to avoid different parts of the codebase being linked with different C++ standard libraries when CXX definition is overridden by the environment but CC is not. This is again related to clang linking with libc++ by default. 5. Adds -Wno-unused-local-typedefs option to silence the annoying typedef warnings originating from openfst. git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3749 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
- Mar 07, 2014
-
-
Dogan Can authored
Relevant error message: ../fstext/prune-special-inl.h:164:26: error: redefinition of default argument size_t max_states = 0) { ^ ~ ../fstext/prune-special.h:52:26: note: previous definition is here size_t max_states = 0); ^ ~ git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3730 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3729 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3728 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
- Mar 06, 2014
-
-
Dan Povey authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3721 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dan Povey authored
merge Makefile changes from ^/sandbox/sail; fix to ApplyExp() in cudamatrix [thanks to Vijayaditya Peddinti] git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3720 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Ho Yin Chan authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3719 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3718 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
sandbox/sail: Reverted the conditional variable assignments in tools/Makefile since make was implicitly picking up builtin variables. git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3717 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dan Povey authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3716 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dan Povey authored
trunk: Merging changes from sail sandbox (mostly things to enable compilation to also work with C++11). git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3713 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dan Povey authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3712 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3711 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Guoguo Chen authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3709 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3706 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
This is a problem with c++11. See the explanation at the following address. http://stackoverflow.com/questions/9641960/c11-make-pair-with-specified-template-parameters-doesnt-compile git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3705 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
Fixes how the po object is constructed @ util/parse-options.h:240:16. util/parse-options.h:240:16: error: no matching constructor for initialization of 'kaldi::ParseOptions' ParseOptions po; git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3704 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
The way these type qualifiers were used causing problems with clang. This commit fixes their usage. See http://gcc.gnu.org/onlinedocs/gcc/Restricted-Pointers.html git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3703 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
This commit adds support for Mac OS 10.9 by adding a platform specific makefile and updating configure. It also changes the way Mac OS version is extracted from sw_vers output to make it more robust. Older script failed to deduce the correct OS version when the version string included two fields instead of three for instance when sw_vers returns 10.9 instead of 10.9.0. git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3702 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
This patch changes the way src/common/pa_ringbuffer.o file is added to the portaudio library. Original script added this file to the COMMON_OBJS list. However, on some platforms this file is automatically added to the OTHER_OBJS list and as a result pa_ringbuffer.o object is added twice to the portaudio library. Linking against portaudio library from a piece of code using the pa_ringbuffer results in linker errors. git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3701 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
On Mac OS 10.9, g++ is actually clang in disguise which by default uses the new c++ standard library libc++. Since openfst uses stuff from the tr1 namespace, we need to tell clang to use libstdc++ instead. This patch adds a check to the Makefile to see if we are using clang and adds the appropriate flag if so. With this patch, it is also possible to pass CXX, CXXFLAGS and LDFLAGS to make while building the tools, e.g. kaldi/tools ~ make CXX=g++-4.8 CXXFLAGS="-std=c++11" LDFLAGS="..." git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3700 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
There are a few places in irstlm code where variable length arrays of non-POD types are causing errors with recent standards compliant c++ compilers. mdiadapt.cpp:1115:16: error: variable length array of non-POD element type 'streampos' (aka 'fpos<mbstate_t>') streampos pos[lmsize()+1]; ... This use is not part of the c++ standard. Some compilers like gcc support this through an extension while others like clang do not. This patch replaces all VLAs of non-POD types with std::vector. Also, configure.in is renamed to configure.ac to make recent automake distributions happy. git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3699 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
This patch adds -ffreestanding flag to the compile flags for rfilter1 to silence the following error thrown by recent c++ compilers. rfilter1.c:29:5: error: second parameter of 'main' (argument array) must be of type 'char **' int main(int argc, char **argv) ^ There is a nasty typedef @ tools/sctk-2.4.0/src/rfilter1/include/stdcenvp.h:27 which maps char to unsigned char. This is supposed to be a hack for parsing mandarin and japanese correctly. However, that typedef causes all chars in all files including that header file to be mapped to unsigned char. While most such mappings are benign, we have one problematic case which results in the compiler error given above. git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3698 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
- Mar 05, 2014
-
-
Pegah Ghahremani authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3694 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Pegah Ghahremani authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3693 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Pegah Ghahremani authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3692 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Karel Vesely authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3691 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
- Mar 04, 2014
-
-
Dan Povey authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3678 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dan Povey authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3677 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Guoguo Chen authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3676 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Dogan Can authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3673 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
- Mar 03, 2014
-
-
Jan Trmal authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3671 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Karel Vesely authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3666 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Karel Vesely authored
* steps/paste_feats.sh : this script wraps paste-feats, which allows to combine more than 2 features streams. git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3665 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Karel Vesely authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3664 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Pegah Ghahremani authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3659 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Jan Trmal authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3656 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-
Jan Trmal authored
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3655 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
-