This is an automated email from the ASF dual-hosted git repository.
apitrou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 0f7c569268 GH-38172: [CI][C++] Use system GoogleTest on Ubuntu 22.04
(#38173)
0f7c569268 is described below
commit 0f7c569268c974a40a5b9ce44f6fa726b883ec5e
Author: Sutou Kouhei <[email protected]>
AuthorDate: Tue Oct 10 21:12:47 2023 +0900
GH-38172: [CI][C++] Use system GoogleTest on Ubuntu 22.04 (#38173)
### Rationale for this change
It will reduce build time.
### What changes are included in this PR?
Install GoogleTest by apt.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* Closes: #38172
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
---
ci/docker/ubuntu-22.04-cpp.dockerfile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ci/docker/ubuntu-22.04-cpp.dockerfile
b/ci/docker/ubuntu-22.04-cpp.dockerfile
index fffafe2b05..848f62ab8a 100644
--- a/ci/docker/ubuntu-22.04-cpp.dockerfile
+++ b/ci/docker/ubuntu-22.04-cpp.dockerfile
@@ -79,6 +79,7 @@ RUN apt-get update -y -q && \
libc-ares-dev \
libcurl4-openssl-dev \
libgflags-dev \
+ libgmock-dev \
libgoogle-glog-dev \
libgrpc++-dev \
libidn2-dev \
@@ -166,7 +167,6 @@ RUN /arrow/ci/scripts/install_sccache.sh unknown-linux-musl
/usr/local/bin
# provided by the distribution:
# - Abseil is old
# - libc-ares-dev does not install CMake config files
-# - libgtest-dev only provide sources
ENV absl_SOURCE=BUNDLED \
ARROW_ACERO=ON \
ARROW_AZURE=ON \
@@ -200,7 +200,6 @@ ENV absl_SOURCE=BUNDLED \
AWSSDK_SOURCE=BUNDLED \
Azure_SOURCE=BUNDLED \
google_cloud_cpp_storage_SOURCE=BUNDLED \
- GTest_SOURCE=BUNDLED \
ORC_SOURCE=BUNDLED \
PARQUET_BUILD_EXAMPLES=ON \
PARQUET_BUILD_EXECUTABLES=ON \