Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5410c5f

Browse files
committed
Revert "Updated build scripts so that we don't build boost."
This reverts commit10874f3.
1 parented355f0 commit5410c5f

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

‎build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ cd build
66
cmake -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" \
911
-DCMAKE_CXX_FLAGS="-std=c++11${CMAKE_CXX_FLAGS}" \
1012
..
1113
make -j2

‎install-boost.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
#!/bin/sh
22
set -e
33

4-
if [!-d"${BOOST_ROOT}" ];then
4+
if [!-d"${HOME}/${CC}-boost_${BOOST_VERSION}/include" ];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.log2>&1
10+
cd ..
11+
rm -rf boost_${BOOST_VERSION}
12+
rm -rf boost_${BOOST_VERSION}.tar.bz2
713
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp