Skip to content

Commit a718581

Browse files
committed
CI: Update ignore for aws; speed up git clones
1 parent f0b4204 commit a718581

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ SNTools.project
112112
*ioss.doxygen.warn
113113
*ioss.tags
114114
SeacasRepoVersion.txt
115+
TPL/aws-sdk-cpp/aws-sdk-cpp/
115116
TPL/adios2/ADIOS2/
116117
TPL/cgns/CGNS/
117118
TPL/catch2/Catch2/

install-tpl.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ then
971971
then
972972
echo "${txtgrn}+++ Downloading...${txtrst}"
973973
rm -rf googletest
974-
git clone --branch ${gtest_version} --depth 1 https://github.com/google/googletest.git
974+
git clone --depth 1 --branch ${gtest_version} --depth 1 https://github.com/google/googletest.git
975975
fi
976976

977977
if [ "$BUILD" == "YES" ]
@@ -1013,7 +1013,7 @@ then
10131013
then
10141014
echo "${txtgrn}+++ Downloading...${txtrst}"
10151015
rm -rf Catch2
1016-
git clone --branch ${catch2_version} --depth 1 https://github.com/catchorg/Catch2.git
1016+
git clone --depth 1 --branch ${catch2_version} --depth 1 https://github.com/catchorg/Catch2.git
10171017
fi
10181018

10191019
if [ "$BUILD" == "YES" ]
@@ -1161,7 +1161,7 @@ then
11611161
then
11621162
echo "${txtgrn}+++ Downloading...${txtrst}"
11631163
rm -rf aws-sdk-cpp
1164-
git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp
1164+
git clone --depth 1 --recurse-submodules https://github.com/aws/aws-sdk-cpp
11651165
cd aws-sdk-cpp
11661166
git branch branch/tag-1.11.77 1.11.77
11671167
git checkout branch/tag-1.11.77

0 commit comments

Comments
 (0)