未验证 提交 d4a4eedc 编写于 作者: D Daniel Larimer 提交者: GitHub

Merge pull request #2576 from InfoHunter/master

Allow to use higher version boost in MacOS
......@@ -99,9 +99,9 @@
if [ ${tester} ${testee} ]; then
# check boost version, it should be 1_66
if [ "${brewname}" = "boost" ]; then
BVERSION=`cat "${testee}" 2>/dev/null | grep BOOST_LIB_VERSION | tail -1 \
| tr -s ' ' | cut -d\ -f3 | sed 's/[^0-9_]//g'`
if [ "${BVERSION}" != "1_66" ]; then
BVERSION=`cat "${testee}" 2>/dev/null | grep "#define BOOST_VERSION" | tail -1 \
| tr -s ' ' | cut -d\ -f3`
if [ ${BVERSION} < 106600 ]; then
BOOST_CHECK=1
DEP=$DEP"${brewname} "
DISPLAY="${DISPLAY}${COUNT}. ${name}\n\t"
......@@ -322,4 +322,4 @@
printf '\texport PATH=${HOME}/opt/mongodb/bin:$PATH\n'
printf "\tcd ${HOME}/eos/build; make test\n\n"
return 0
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册