Skip to content

Commit

Permalink
Don't use -g1 when we run GDB plugins test
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 23, 2023
1 parent e534eec commit 08b9ffe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions ci/docker/conda-python.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ ENV ARROW_ACERO=ON \
ARROW_CSV=ON \
ARROW_DATASET=ON \
ARROW_FILESYSTEM=ON \
ARROW_GDB=ON \
ARROW_HDFS=ON \
ARROW_JSON=ON \
ARROW_TENSORFLOW=ON \
Expand Down
6 changes: 4 additions & 2 deletions ci/scripts/cpp_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ fi
if [ "${GITHUB_ACTIONS:-false}" = "true" ]; then
case "$(uname)" in
Linux|Darwin|MINGW*)
: ${ARROW_C_FLAGS_DEBUG:=-g1}
: ${ARROW_CXX_FLAGS_DEBUG:=-g1}
if [ "${ARROW_GDB:-OFF}" != "ON" ]; then
: ${ARROW_C_FLAGS_DEBUG:=-g1}
: ${ARROW_CXX_FLAGS_DEBUG:=-g1}
fi
;;
*)
esac
Expand Down

0 comments on commit 08b9ffe

Please sign in to comment.