Skip to content

Commit e59655e

Browse files
committed
fix boost download
1 parent a40ea63 commit e59655e

File tree

5 files changed

+19
-1
lines changed

5 files changed

+19
-1
lines changed

boost/xaa

32 MB
Binary file not shown.

boost/xab

32 MB
Binary file not shown.

boost/xac

32 MB
Binary file not shown.

boost/xad

28.4 MB
Binary file not shown.

build.sh

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,32 @@ else
8383

8484
fi
8585

86+
if [ -f $CURR_DIR/mysql_source/boost_1_73_0.tar.gz ]; then
87+
88+
rm $CURR_DIR/mysql_source/boost_1_73_0.tar.gz
89+
fi
90+
cat $CURR_DIR/boost/xaa > $CURR_DIR/mysql_source/boost_1_73_0.tar.gz
91+
cat $CURR_DIR/boost/xab >> $CURR_DIR/mysql_source/boost_1_73_0.tar.gz
92+
cat $CURR_DIR/boost/xac >> $CURR_DIR/mysql_source/boost_1_73_0.tar.gz
93+
cat $CURR_DIR/boost/xad >> $CURR_DIR/mysql_source/boost_1_73_0.tar.gz
94+
95+
if [ -d $CURR_DIR/mysql_source/mysql/boost_1_73_0 ]; then
96+
97+
rm -r -f $CURR_DIR/mysql_source/mysql/boost_1_73_0
98+
fi
99+
mkdir $CURR_DIR/mysql_source/mysql/boost_1_73_0
100+
101+
tar -C $CURR_DIR/mysql_source/mysql/boost_1_73_0 -zxvf $CURR_DIR/mysql_source/boost_1_73_0.tar.gz --strip-components 1
102+
103+
86104

87105
rm -r ./mysql_source/build/*
88106
echo "" > ./mysql_source/build/1.txt
89107

90108

91109

92110
cd ./mysql_source/build
93-
cmake ../mysql -DDOWNLOAD_BOOST=1 -DWITH_BOOST=../mysql -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON
111+
cmake ../mysql -DDOWNLOAD_BOOST=0 -DWITH_BOOST=../mysql/boost_1_73_0 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON
94112
cd ../../
95113

96114

0 commit comments

Comments
 (0)