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
set makefile target internal/mkcw/embed/entrypoint.gz as .PHONY on non x86_64 #5183
set makefile target internal/mkcw/embed/entrypoint.gz as .PHONY on non x86_64 #5183
Conversation
@dcermak Could you please reduce the length of commit message. |
655fc09
to
fb455ce
Compare
done |
LGTM |
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.
This is not really the topic of this PR — fixing the build is much more important: When we commit the built .gz
into git
, I’m wondering about the risk of the source and the binary (accidentally or intentionally) getting out of sync.
It Would Be Nice™️ if our CI builds always validated that the .s
and .gz
, as they are checked into git
, match.
The target internal/mkcw/embed/entrypoint is only built on x86_64, but internal/mkcw/embed/entrypoint.gz is run on all arches. This causes build failures on anything non x86_64 as internal/mkcw/embed/entrypoint is not build. Signed-off-by: Dan Čermák <dcermak@suse.com>
fb455ce
to
12b205f
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dcermak, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The target internal/mkcw/embed/entrypoint is only built on x86_64, but internal/mkcw/embed/entrypoint.gz is run on all arches. This causes build failures on anything non x86_64 as internal/mkcw/embed/entrypoint is not build.
What type of PR is this?
/kind bug
What this PR does / why we need it:
To support running
make
on anything non x86_64.How to verify it
Run
make
on a non-x86_64 machine.Which issue(s) this PR fixes:
None
Special notes for your reviewer:
Does this PR introduce a user-facing change?