Skip to content
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

Enable Go ARM64 buildpack #2636

Merged
merged 6 commits into from
Jan 7, 2025
Merged

Conversation

matejvasek
Copy link
Contributor

@matejvasek matejvasek commented Jan 6, 2025

Added adjustments that enable Go buildpack build on arm64 machines. Paketo buildpack do not distribute serveral buildpacks in arm64 variant, so we need to build them.

Namely we need to build:

  • go
    • go-dist
    • go-build
    • go-mod-vendor
    • git

fixes #2623

Added adjustments that enable Go buildpack build on arm64 machines.
Paketo buildpack do not distribute serveral buildpacks in arm64
variant, so we need to build them.

Namely we need to build:
go
go-dist
go-build
go-mod-vendor
git

Signed-off-by: Matej Vašek <[email protected]>
@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 6, 2025
@knative-prow knative-prow bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 6, 2025
@matejvasek matejvasek requested review from matzew, gauron99 and lkingland and removed request for dsimansk and jrangelramos January 6, 2025 19:07
@matejvasek
Copy link
Contributor Author

PTAL @lkingland @gauron99 @matzew

@matejvasek
Copy link
Contributor Author

cc @alanreynosov

Signed-off-by: Matej Vašek <[email protected]>
Signed-off-by: Matej Vašek <[email protected]>
Signed-off-by: Matej Vašek <[email protected]>
Signed-off-by: Matej Vašek <[email protected]>
Signed-off-by: Matej Vašek <[email protected]>
Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.42%. Comparing base (bf60339) to head (2f30e0a).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2636      +/-   ##
==========================================
+ Coverage   64.13%   65.42%   +1.28%     
==========================================
  Files         130      130              
  Lines       15518    15518              
==========================================
+ Hits         9953    10152     +199     
+ Misses       4625     4389     -236     
- Partials      940      977      +37     
Flag Coverage Δ
e2e-test 35.81% <ø> (+0.02%) ⬆️
e2e-test-oncluster 32.82% <ø> (-0.05%) ⬇️
e2e-test-oncluster-runtime 28.65% <ø> (?)
e2e-test-runtime-go 26.44% <ø> (?)
e2e-test-runtime-node 25.84% <ø> (?)
e2e-test-runtime-python 25.84% <ø> (?)
e2e-test-runtime-quarkus 25.99% <ø> (?)
e2e-test-runtime-rust 24.94% <ø> (?)
e2e-test-runtime-springboot 24.98% <ø> (?)
e2e-test-runtime-typescript 25.95% <ø> (?)
integration-tests 51.98% <ø> (+2.28%) ⬆️
unit-tests 50.93% <ø> (?)
unit-tests-macos-latest ?
unit-tests-ubuntu-latest ?
unit-tests-windows-latest ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@lkingland lkingland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition. Thanks Matej!

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jan 7, 2025
Copy link

knative-prow bot commented Jan 7, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lkingland, matejvasek

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:
  • OWNERS [lkingland,matejvasek]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot merged commit e2474a6 into knative:main Jan 7, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gcc: error: unrecognized command-line option '-m64'
2 participants