message: chore: don't run benchmarks under gdb by default
diff: @@ -32,6 +32,7 @@ export CONAN_USER_HOME="${CONAN_USER_HOME:=${PROJECT_ROOT_DIR}/.cache}"
  export CCACHE_DIR="${CCACHE_DIR:=${PROJECT_ROOT_DIR}/.cache/.ccache}"
  BENCHMARK_OPTIONS="${BENCHMARK_OPTIONS:=$@}"
  +USE_GDB=0
  # Check whether we are running on a Continuous integration server
  IS_CI=${IS_CI:=$(is_ci)}
  @@ -180,17 +181,23 @@ if [ "${USE_MINGW}" == "true" ] || [ "${USE_MINGW}" == "1" ]; then
  "
  fi
  +
  +# gdb (or lldb) command with arguments
  +GDB_DEFAULT="gdb --quiet -ix ${THIS_DIR}/lib/.gdbinit -x ${THIS_DIR}/lib/.gdbexec --args"
  +if [ "${IS_CI}" == "1" ]; then
  + GDB_DEFAULT=""
  +fi
  +
  # AddressSanitizer and MemorySanitizer don't work with gdb
  case ${CMAKE_BUILD_TYPE} in
  ASAN|MSAN) GDB_DEFAULT="" ;;
  *) ;;
  esac
  -# gdb (or lldb) command with arguments
  -GDB_DEFAULT="gdb --quiet -ix ${THIS_DIR}/lib/.gdbinit -x ${THIS_DIR}/lib/.gdbexec --args"
  -if [ "${IS_CI}" == "1" ]; then
  +if [ "${USE_GDB}" != "1" ] || [ "${USE_GDB}" != "true" ]; then
  GDB_DEFAULT=""
  fi
  +
  GDB="${GDB:=${GDB_DEFAULT}}"
  # gttp (Google Test Pretty Printer) command
  @@ -333,4 +340,4 @@ pushd ${PROJECT_ROOT_DIR} >/dev/null
  print 22 "Done";
  -popd
  +popd >/dev/null
  