-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add libffi as dependency of datadog-pip on arm platforms #216
Conversation
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.
Once we verify the arm architecture conditional works, this appears to be 👌
config/software/datadog-pip.rb
Outdated
@@ -7,6 +7,12 @@ | |||
|
|||
dependency "pip" | |||
|
|||
if armhf? || armel? |
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 hope this works! Otherwise maybe ohai['kernel']['machine']
cuts it?
The fix as written doesn't actually work, looking to remove the |
@truthbk I was able to fix the patch in this PR, and confirmed I can now build the agent with the |
@truthbk any chance you could give this another look? |
Updated to also work on arm64 platforms |
Hi Adrien! The patch looks good. Could you fix the linter issues pointed out by the CI? |
Should be good now :-) |
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.
Thanks a lot!
Running the agent omnibus build raises the following error:
After infestigation this is due to a missing
libffi-dev
package in the omnibus environment. Indeed, the cffi package doesn't come with pre-built ARM wheels, and building it from source requires that library.