diff options
author | hieuhoang1972 <hieuhoang1972@9a26d1b7-1c8f-445c-8fdd-6576f508279d> | 2013-11-23 13:19:34 +0400 |
---|---|---|
committer | hieuhoang1972 <hieuhoang1972@9a26d1b7-1c8f-445c-8fdd-6576f508279d> | 2013-11-23 13:19:34 +0400 |
commit | e73cd3381e7ffe91a64329f6a83df5fc415ecf9f (patch) | |
tree | 55eda0d1d21a553ffaa250ad0abc7ca572114ab9 | |
parent | 6c49ce76f9dc6f2073a3bd489fbe976e1727a0e4 (diff) |
Mac osx
-rwxr-xr-x | mgizapp/manual-compile/compile.sh | 14 | ||||
-rwxr-xr-x | mgizapp/scripts/snt2cooc.pl | 2 |
2 files changed, 9 insertions, 7 deletions
diff --git a/mgizapp/manual-compile/compile.sh b/mgizapp/manual-compile/compile.sh index 1120901..a6839a0 100755 --- a/mgizapp/manual-compile/compile.sh +++ b/mgizapp/manual-compile/compile.sh @@ -3,12 +3,14 @@ #LDFLAGS="-static" # mac, 'cos OSX doesn't support static linking and other such nonsense -GCC=gcc-mp-4.5 -GPP=g++-mp-4.5 - -SRC_DIR=/Users/hieuhoang/workspace/mgizapp/trunk/mgizapp/src -BOOST_ROOT=/Users/hieuhoang/workspace/boost/boost_1_52_0 -BOOST_LIBRARYDIR=/Users/hieuhoang/workspace/boost/boost_1_52_0/lib64/ +#GCC=gcc-mp-4.5 +#GPP=g++-mp-4.5 +GCC=clang +GPP=clang++ + +SRC_DIR=/Users/hieu/workspace/mgizapp/mgizapp/src +BOOST_ROOT=/Users/hieu/workspace/boost/boost_1_54_0 +BOOST_LIBRARYDIR=/Users/hieu/workspace/boost/boost_1_54_0/lib64/ rm *.o libmgiza.a d4norm hmmnorm mgiza plain2snt snt2cooc snt2cooc-reduce-mem-preprocess snt2plain symal mkcls diff --git a/mgizapp/scripts/snt2cooc.pl b/mgizapp/scripts/snt2cooc.pl index 5bbefab..5cab4b1 100755 --- a/mgizapp/scripts/snt2cooc.pl +++ b/mgizapp/scripts/snt2cooc.pl @@ -42,7 +42,7 @@ else { my $TMPDIR=dirname($out); my $cmd; -$cmd = "$Bin/snt2coocrmp $vcb1 $vcb2 $snt12 "; +$cmd = "$Bin/snt2cooc-reduce-mem-preprocess $vcb1 $vcb2 $snt12 "; $cmd .= "| $SORT_EXEC $sortArgs -T $TMPDIR -nk 1 -nk 2 | uniq > $out"; systemCheck($cmd); |