Skip to content

Commit da3e1b0

Browse files
committed
Change approach to make it more configurable
Use GitHub syntax instead
1 parent a295e17 commit da3e1b0

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

dev/release/verify-release-candidate.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -512,15 +512,6 @@ test_and_install_cpp() {
512512
ARROW_BUILD_TESTS=ON
513513
fi
514514

515-
case "$(uname)" in
516-
Linux)
517-
GTest_SOURCE=BUNDLED
518-
;;
519-
Darwin)
520-
GTest_SOURCE=SYSTEM
521-
;;
522-
esac
523-
524515
cmake \
525516
-DARROW_BOOST_USE_SHARED=ON \
526517
-DARROW_BUILD_EXAMPLES=OFF \
@@ -557,7 +548,7 @@ test_and_install_cpp() {
557548
-DCMAKE_INSTALL_LIBDIR=lib \
558549
-DCMAKE_INSTALL_PREFIX=$ARROW_HOME \
559550
-DCMAKE_UNITY_BUILD=${CMAKE_UNITY_BUILD:-OFF} \
560-
-DGTest_SOURCE=${GTest_SOURCE} \
551+
-DGTest_SOURCE=${GTest_SOURCE:-BUNDLED} \
561552
-DPARQUET_BUILD_EXAMPLES=ON \
562553
-DPARQUET_BUILD_EXECUTABLES=ON \
563554
-DPARQUET_REQUIRE_ENCRYPTION=ON \

dev/tasks/verify-rc/github.macos.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ jobs:
8989
PYTHON_VERSION: "3.12"
9090
{% endif %}
9191
USE_CONDA: 1
92+
{% else %}
93+
GTest_SOURCE: SYSTEM
9294
{% endif %}
9395
run: |
9496
arrow/dev/release/verify-release-candidate.sh {{ release|default("") }} {{ rc|default("") }}

0 commit comments

Comments
 (0)