You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cookbooks/aws-parallelcluster-platform/resources/arm_pl/partial/_arm_pl_common.rb
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -119,14 +119,15 @@
119
119
group'root'
120
120
cwdnew_resource.sources_dir
121
121
code<<-GCC
122
-
set -e
122
+
set -ex
123
123
124
124
# Remove dir if it exists. This happens in case of retries.
125
125
rm -rf gcc-#{gcc_version}
126
126
tar -xf #{gcc_tarball}
127
127
cd gcc-#{gcc_version}
128
-
# Patch the download_prerequisites script to download over https and not ftp. This works better in China regions.
129
-
sed -i "s#ftp://gcc\.gnu\.org/pub/gcc/infrastructure##{node['cluster']['artifacts_s3_url']}/dependencies/gcc/prerequisites#g" ./contrib/download_prerequisites
128
+
# Patch the download_prerequisites script to download GCC dependencies from our public bucket.
129
+
# This is required to support build image in isolated environments, also HTTPS works better than FTP in China regions.
130
+
sed -i "s#\(ftp\|http\)://gcc\.gnu\.org/pub/gcc/infrastructure##{node['cluster']['artifacts_s3_url']}/dependencies/gcc/prerequisites#g" ./contrib/download_prerequisites
0 commit comments