Commit e2ab8e33 authored by Dan Povey's avatar Dan Povey
Browse files

trunk: changes RE sclite compilation: adding patch, adding download link to openslr.

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@4355 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 00f359b9
......@@ -83,27 +83,29 @@ openfst-1.3.4.tar.gz:
sclite: sclite_compiled
.PHONY: sclite_compiled
sclite_compiled: sctk_configured
sclite_compiled: sctk/.patched sctk_configured
cd sctk; \
$(MAKE) all && $(MAKE) install && $(MAKE) doc
sctk_configured:sctk/.configured
sctk_configured: sctk/.patched sctk/.configured
sctk/.configured:sctk
sctk/.configured: sctk
cd sctk; $(MAKE) config
touch sctk/.configured
sctk/.patched: sctk
cd sctk; patch -N -p0 < ../extras/sctk-2.4.8.patch
touch sctk/.patched
.PHONY: sctk
sctk: sctk-2.4.8-20130429-2145.tar.bz2
tar xojf sctk-2.4.8-20130429-2145.tar.bz2
rm -rf sctk && ln -s sctk-2.4.8 sctk
sctk-2.4.8-20130429-2145.tar.bz2:
wget -T 10 -t 3 ftp://jaguar.ncsl.nist.gov/pub/sctk-2.4.8-20130429-2145.tar.bz2
sctk-2.4.0-20091110-0958.tar.bz2:
wget -T 10 -t 3 ftp://jaguar.ncsl.nist.gov/pub/sctk-2.4.0-20091110-0958.tar.bz2 || \
wget --no-check-certificate -T 10 http://www.openslr.org/resources/4/sctk-2.4.0-20091110-0958.tar.bz2
wget -T 10 -t 3 ftp://jaguar.ncsl.nist.gov/pub/sctk-2.4.8-20130429-2145.tar.bz2 || \
wget --no-check-certificate -T 10 http://www.openslr.org/resources/4/sctk-2.4.8-20130429-2145.tar.bz2
irstlm_tgt: irstlm_compiled
......
Index: src/acomp/acomp.pl
45,47c45,51
< require "getopts.pl";
< require "flush.pl";
< &Getopts('l:m:tsi:f');
---
>
> $| = 1; # This will cause stdout to be flushed whenever we print to it.
>
> use Getopts::Long;
>
> getopts('i:s:t');
>
309,310c313
< print "." if ($db);
< &flush(STDOUT);
---
> print "." if ($db);
Index: src/def_art/def_art.pl
40,42c40,43
< require "getopts.pl";
< require "flush.pl";
< &Getopts('i:s:t');
---
> use Getopt::Std;
>
> getopts("i:s:t");
>
Index: src/acomp/acomp.pl
48c48
< use Getopts::Long;
---
> use Getopt::Std;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment