From 933822a2841f2ea12a2bbf945860aa1519cc020a Mon Sep 17 00:00:00 2001 From: Mariusz Drost Date: Mon, 24 Feb 2020 14:01:19 +0000 Subject: Change gtest to clone known working release Newest release of gtests introduced issue with old cmake. To overcome that and prevent such issues in the future, older, proven to work release will be cloned. Signed-off-by: Mariusz Drost Change-Id: I516ac57b4c476fd25bed765ba0d48c53393fe0bd --- jjb/tldk/gtest-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'jjb/tldk') diff --git a/jjb/tldk/gtest-build.sh b/jjb/tldk/gtest-build.sh index 764e280c1..f5a27e0f2 100755 --- a/jjb/tldk/gtest-build.sh +++ b/jjb/tldk/gtest-build.sh @@ -1,7 +1,8 @@ #!/bin/bash set -e -o pipefail echo $WORKSPACE -git clone https://github.com/google/googletest.git $WORKSPACE/googletest +git clone -v https://github.com/google/googletest.git --branch release-1.10.0 \ +$WORKSPACE/googletest cmake $WORKSPACE/googletest/CMakeLists.txt make -C $WORKSPACE/googletest echo GTEST_DIR=$WORKSPACE/googletest/googletest > gtest-env.prop -- cgit 1.2.3-korg