diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 6771228b64a07e9214e51e9c3ae8a309a1e27475..adea24f224c98219433ce61d8af3439513913e27 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() {