mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-22 00:30:51 +03:00
Fine, go back to allowing multi-threaded builds to link against IRSTLM
This commit is contained in:
parent
42975b0635
commit
8d68887fc0
4
Jamroot
4
Jamroot
@ -148,10 +148,6 @@ if [ test_flags "-lSegfault" ] {
|
||||
requirements += [ option.get "notrace" : <define>TRACE_ENABLE=1 ] ;
|
||||
requirements += [ option.get "enable-boost-pool" : : <define>USE_BOOST_POOL ] ;
|
||||
|
||||
if [ option.get "with-irstlm" ] {
|
||||
requirements += <threading>single ;
|
||||
}
|
||||
|
||||
import os ;
|
||||
|
||||
cxxflags = [ os.environ "CXXFLAGS" ] ;
|
||||
|
@ -6,7 +6,6 @@ if $(with-irstlm) != ""
|
||||
lib irstlm : : <search>$(with-irstlm)/lib ;
|
||||
obj IRST.o : IRST.cpp ..//headers : <include>$(with-irstlm)/include ;
|
||||
alias irst : IRST.o irstlm : : : <define>LM_IRST ;
|
||||
echo "Forcing single-threaded build because of IRSTLM." ;
|
||||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" ;
|
||||
echo "!!! You are linking the IRSTLM library; be sure the release is >= 5.70.02 !!!" ;
|
||||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" ;
|
||||
|
Loading…
Reference in New Issue
Block a user