Getting configuration from environment.

This commit is contained in:
Vahagn Khachatryan
2017-06-28 13:42:59 -04:00
parent e831ed4c17
commit aca713264d

View File

@@ -47,27 +47,59 @@ elseif has('unix')
" "
" the root of all 3pty libraries " the root of all 3pty libraries
" "
if exists($SRC_DIR)
let g:srcdir=$SRC_DIR
else
let g:srcdir=$HOME . "/src" let g:srcdir=$HOME . "/src"
endif
" "
" BOOST " BOOST
" "
let g:boostdir=g:srcdir."/boost_1_53_0" if exists("$BOOST_DIR")
let g:boostdir=$BOOST_DIR
else
let g:boostdir=g:srcdir."/boost"
endif
if exists("$BOOST_INC")
let g:boostinc=$BOOST_INC
else
let g:boostinc=g:boostdir let g:boostinc=g:boostdir
let g:boostlib=g:boostdir."/lib-amd64/lib" endif
let g:boostbin=g:boostlib
let g:Bboost=g:boostbin.":" if exists("$BOOST_LIB")
let g:boostlib=$BOOST_LIB
else
let g:boostlib=g:boostdir."/stage/lib"
endif
let g:Iboost=" -I".g:boostinc let g:Iboost=" -I".g:boostinc
let g:Lboost=" -L".g:boostlib let g:Lboost=" -L".g:boostlib
let g:Bboost=""
" "
" Intel TBB " Intel TBB
" "
let g:tbbdir=g:srcdir."/tbb41_20130116oss" if exists("$TBB_DIR")
let g:tbbdir=$TBB_DIR
else
let g:tbbdir=g:srcdir."/tbb41"
endif
if exists("$TBB_INC")
let g:tbbinc=$TBB_INC
else
let g:tbbinc=g:tbbdir."/include" let g:tbbinc=g:tbbdir."/include"
endif
if exists("$TBB_LIB")
let g:tbblib=$TBB_LIB
else
let g:tbblib=g:tbbdir."/lib/intel64/cc4.1.0_libc2.4_kernel2.6.16.21" let g:tbblib=g:tbbdir."/lib/intel64/cc4.1.0_libc2.4_kernel2.6.16.21"
let g:tbbbin=g:tbblib endif
let g:Btbb=g:tbbbin.":" let g:Btbb=""
let g:Itbb=" -I".g:tbbinc let g:Itbb=" -I".g:tbbinc
let g:Ltbb=" -L".g:tbblib." -ltbb" let g:Ltbb=" -L".g:tbblib." -ltbb -ltbbmalloc"
let g:tbbmalloc=" -ltbbmalloc" let g:tbbmalloc=" -ltbbmalloc"
let g:tbbmproxy=" -ltbbmalloc_proxy" let g:tbbmproxy=" -ltbbmalloc_proxy"
endif endif