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

Disable adx in util build #6580

Merged
merged 2 commits into from
Nov 4, 2024
Merged

Disable adx in util build #6580

merged 2 commits into from
Nov 4, 2024

Conversation

tarakby
Copy link
Contributor

@tarakby tarakby commented Oct 18, 2024

util is cross-built, by taking into account the build machine support for ADX. This causes an issue when the build machine supports ADX and the target machine doesn't.

This PR disables ADX in the built image so that the image works regardless of ADX support. This comes with a slight performance impact, which doesn't seem to be an issue for util.

Note that the image only works for the same arch as the build machine.

@codecov-commenter
Copy link

codecov-commenter commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.10%. Comparing base (13dd041) to head (46bcdda).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6580      +/-   ##
==========================================
+ Coverage   41.09%   41.10%   +0.01%     
==========================================
  Files        2020     2020              
  Lines      178571   178571              
==========================================
+ Hits        73375    73395      +20     
+ Misses      99042    99026      -16     
+ Partials     6154     6150       -4     
Flag Coverage Δ
unittests 41.10% <ø> (+0.01%) ⬆️

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.

@vishalchangrani
Copy link
Contributor

The fix has been successfully tested by me and an external VN node operator.

Copy link
Member

@zhangchiqing zhangchiqing left a comment

Choose a reason for hiding this comment

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

Nice

@tarakby tarakby enabled auto-merge October 18, 2024 19:27
@tarakby tarakby added this pull request to the merge queue Nov 4, 2024
Merged via the queue into master with commit 899e12e Nov 4, 2024
55 checks passed
@tarakby tarakby deleted the tarak/update-util-build branch November 4, 2024 21:18
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.

5 participants