Skip to content

[ARMPL] Fix ARM PL installation by properly injecting the S3 URL from where gcc dependencies must be downloaded from. #2933

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

gmarciani
Copy link
Contributor

@gmarciani gmarciani commented Apr 14, 2025

DONOTMERGE: test failed

Description of changes

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.

This fix is required now because we recently upgraded to GCC 11.3.
In this version, the script download_prerequisites downloads gcc dependencies from http endpoint rather than ftp, invalidating our original replacement command.

Tests

  • ONGOING AMI build succeeded (tested on AL2 arm)
  • Verified that gcc dependencies are fetched from S3 bucket
2025-04-14 17:16:16.808000	Stdout:     * bash[make install] action run[2025-04-14T17:16:16+00:00] INFO: Processing bash[make install] action run (aws-parallelcluster-platform::install line 117)
2025-04-14 17:16:23.189000	Stdout:
2025-04-14 17:16:23.189000	Stdout:       [execute] 2025-04-14 17:16:23 URL:https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 [2383840/2383840] -> "gmp-6.1.0.tar.bz2" [1]
2025-04-14 17:16:23.439000	Stdout:                 2025-04-14 17:16:23 URL:http://gcc.gnu.org/pub/gcc/infrastructure/mpfr-3.1.6.tar.bz2 [1287202/1287202] -> "mpfr-3.1.6.tar.bz2" [1]
2025-04-14 17:16:23.690000	Stdout:                 2025-04-14 17:16:23 URL:http://gcc.gnu.org/pub/gcc/infrastructure/mpc-1.0.3.tar.gz [669925/669925] -> "mpc-1.0.3.tar.gz" [1]
2025-04-14 17:16:23.960000	Stdout:                 2025-04-14 17:16:23 URL:http://gcc.gnu.org/pub/gcc/infrastructure/isl-0.18.tar.bz2 [1658291/1658291] -> "isl-0.18.tar.bz2" [1]

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@gmarciani gmarciani force-pushed the wip/mgiacomo/3140/fix-armpl-installation-0414-1 branch 6 times, most recently from fdba154 to 699f170 Compare April 21, 2025 22:25
… was causing the download of GCC dependencies from GCC website rather than the ParallelCluster public bucket.
@gmarciani gmarciani force-pushed the wip/mgiacomo/3140/fix-armpl-installation-0414-1 branch from 699f170 to e5694bf Compare April 22, 2025 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant