File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 66cmake -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE \
77 -DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS \
88 -DCPP-NETLIB_ENABLE_HTTPS=$ENABLE_HTTPS \
9- -DBOOST_INCLUDEDIR=" ${HOME} /${CC} -boost_${BOOST_VERSION} /include" \
10- -DBOOST_LIBRARYDIR=" ${HOME} /${CC} -boost_${BOOST_VERSION} /lib" \
119 -DCMAKE_CXX_FLAGS=" -std=c++11 ${CMAKE_CXX_FLAGS} " \
1210 ..
1311make -j2
Original file line number Diff line number Diff line change 11#! /bin/sh
22set -e
33
4- if [ ! -d " ${HOME} / ${CC} -boost_ ${BOOST_VERSION} /include " ]; then
4+ if [ ! -d " ${BOOST_ROOT} " ]; then
55 wget -O boost_${BOOST_VERSION} .tar.bz2 http://sourceforge.net/projects/boost/files/boost/${BOOST_VER} /boost_${BOOST_VERSION} .tar.bz2/download
66 tar jxf boost_${BOOST_VERSION} .tar.bz2
7- cd boost_${BOOST_VERSION}
8- ./bootstrap.sh --with-toolset=$TOOLSET --prefix=${HOME} /${CC} -boost_${BOOST_VERSION}
9- ./b2 --stagedir=. -j4 --layout=tagged variant=debug,release link=shared threading=multi address-model=64 cxxflags=' -std=c++11' install > boost-build.log 2>&1
10- cd ..
11- rm -rf boost_${BOOST_VERSION}
12- rm -rf boost_${BOOST_VERSION} .tar.bz2
137fi
You can’t perform that action at this time.
0 commit comments