HDFS-16604. Install gtest via FetchContent_Declare in CMake#4374
HDFS-16604. Install gtest via FetchContent_Declare in CMake#4374aajisaka merged 7 commits intoapache:trunkfrom
Conversation
This reverts commit 49d6677.
This comment was marked as outdated.
This comment was marked as outdated.
|
💔 -1 overall
This message was automatically generated. |
|
Just to explain the failures in the CI run above - #4374 (comment),
In conclusion, once we merge this PR to trunk, the above failures won't show up for those PRs which are newly created, or those which gets rebased on top of trunk. |
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/CMakeLists.txt
Show resolved
Hide resolved
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/CMakeLists.txt
Show resolved
Hide resolved
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
💔 -1 overall
This message was automatically generated. |
|
Merged. Thank you @GauthamBanasandra @goiri |


Description of PR
CMake is unable to checkout
release-1.10.0version of GoogleTest -Jenkins run - https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4370/6/artifact/out/branch-compile-hadoop-hdfs-project_hadoop-hdfs-native-client.txt
We need to use
FetchContent_Declaresince we're getting the source code exactly at the given commit SHA. This avoids the checkout step altogether and solves the above issue.How was this patch tested?
Hadoop Jenkins CI run.
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?