File tree Expand file tree Collapse file tree 5 files changed +19
-1
lines changed Expand file tree Collapse file tree 5 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 8383
8484fi
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
87105rm -r ./mysql_source/build/*
88106echo " " > ./mysql_source/build/1.txt
89107
90108
91109
92110cd ./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
94112cd ../../
95113
96114
You can’t perform that action at this time.
0 commit comments