We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f56c9c0 commit 178c48bCopy full SHA for 178c48b
codebuild/bin/install_awslc.sh
@@ -43,7 +43,8 @@ cd "$BUILD_DIR"
43
echo "Checking out tag=$AWSLC_VERSION"
44
# --branch can also take tags and detaches the HEAD at that commit in the resulting repository
45
# --depth 1 Create a shallow clone with a history truncated to 1 commit
46
-git clone https://github.com/awslabs/aws-lc.git --branch "$AWSLC_VERSION" --depth 1
+# If the curl above is throttled, fall back to a known version.
47
+git clone https://github.com/awslabs/aws-lc.git --branch "${AWSLC_VERSION:-main}" --depth 1
48
49
install_awslc() {
50
echo "Building with shared library=$1"
0 commit comments