From b1274ac3d6e224afc4cc0a55fa4ca016e8ef442b Mon Sep 17 00:00:00 2001 From: Chen Weihang Date: Wed, 25 Nov 2020 21:58:39 +0800 Subject: [PATCH] set show cpp stack by default, test=document_fix (#29102) --- paddle/scripts/paddle_build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 6771228b64a..adea24f224c 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -56,6 +56,9 @@ function init() { fi ENABLE_MAKE_CLEAN=${ENABLE_MAKE_CLEAN:-ON} + + # NOTE(chenweihang): For easy debugging, CI displays the C++ error stacktrace by default + export FLAGS_call_stack_level=2 } function cmake_base() { -- GitLab