Skip to content

Commit f95a9d0

Browse files
committed
[ARMPL] Fix a bug in the installation of ARM Performance Library that was causing the download of GCC dependencies from
GCC website rather than the ParallelCluster public bucket.
1 parent dacc9cf commit f95a9d0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ This file is used to list changes made in each version of the AWS ParallelCluste
1212
**CHANGES**
1313
- Ubuntu 20.04 is no longer supported.
1414

15+
**BUG FIXES**
16+
- Fix a bug in the installation of ARM Performance Library that was causing the download of GCC dependencies from
17+
gcc website rather than the ParallelCluster public bucket.
18+
1519
3.13.0
1620
------
1721
**ENHANCEMENTS**

cookbooks/aws-parallelcluster-platform/resources/arm_pl/partial/_arm_pl_common.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
tar -xf #{gcc_tarball}
127127
cd gcc-#{gcc_version}
128128
# 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
129+
sed -i "s#\(ftp\|http\)://gcc\.gnu\.org/pub/gcc/infrastructure##{node['cluster']['artifacts_s3_url']}/dependencies/gcc/prerequisites#g" ./contrib/download_prerequisites
130130
./contrib/download_prerequisites
131131
mkdir build && cd build
132132
../configure --prefix=/opt/arm/armpl/gcc/#{gcc_version} --disable-bootstrap --enable-checking=release --enable-languages=c,c++,fortran --disable-multilib

0 commit comments

Comments
 (0)