-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Source Distribution] Add script to regenerate configure file #7582
[Source Distribution] Add script to regenerate configure file #7582
Conversation
Codecov Report
@@ Coverage Diff @@
## source-distribution #7582 +/- ##
====================================================
Coverage 93.01% 93.01%
====================================================
Files 354 354
Lines 37448 37448
Branches 5433 5433
====================================================
Hits 34833 34833
Misses 1960 1960
Partials 655 655 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just had a couple of comments on the dockerfile
WORKDIR /build | ||
COPY ../ /build | ||
RUN yum -y update | ||
RUN yum -y install curl xz gzip tar automake make |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably want to pin automake as well by building/installing from source as I believe the m4 macros we use for Python live in the automake package and that impacts the end configure
file generated
@@ -0,0 +1,17 @@ | |||
FROM amazonlinux |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use the Amazon Linux image from the ECR public repository so we don't necessarily need DockerHub creds to pull (in case of throttles) and pin this to major version 2
tag so that there is some stability in the base image.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine. Just had a comment about our configure help output
configure
Outdated
@@ -1239,6 +1242,11 @@ Installation directories: | |||
Optional Packages: | |||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |||
--with-python-sys-prefix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that we are using a more recent version of automake. We probably want to pull in this m4 macro to update the help output that we had before: https://github.com/aws/aws-cli/pull/7565/files#diff-a8b976bc5f63366bb7d38a6e3277c5134a59535dd55169f8427622e970176b70R2
Script to regenerate configure file uses pinned versions of automake and autotools inside a docker image to ensure consistent configure output.
eb44ba1
to
abda8d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 🚢
No description provided.