Signed-off-by: cutiechi <superchijinpeng@gmail.com> Co-authored-by: cutiechi <superchijinpeng@gmail.com>
This commit is contained in:
parent
dbd6def820
commit
c00c2d3956
5
build.sh
5
build.sh
|
|
@ -303,6 +303,11 @@ else
|
|||
done
|
||||
fi
|
||||
|
||||
if [[ "${BUILD_TYPE}" == "ASAN" && "${WITH_GCOV}" == "ON" ]]; then
|
||||
echo "Error: ASAN and gcov cannot be enabled at the same time. Please disable one of them."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ ${HELP} -eq 1 ]]; then
|
||||
usage
|
||||
exit
|
||||
|
|
|
|||
|
|
@ -141,6 +141,11 @@ while true; do
|
|||
esac
|
||||
done
|
||||
|
||||
if [[ "${BUILD_TYPE}" == "ASAN" && "${WITH_GCOV}" == "ON" ]]; then
|
||||
echo "Error: ASAN and gcov cannot be enabled at the same time. Please disable one of them."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ${HELP} -eq 1 ]; then
|
||||
usage
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue