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

Does the __arm__ flag get defined in BuildX? #82

Closed
luke-iqt opened this issue Jun 16, 2021 · 2 comments
Closed

Does the __arm__ flag get defined in BuildX? #82

luke-iqt opened this issue Jun 16, 2021 · 2 comments
Assignees

Comments

@luke-iqt
Copy link

I am trying to get a sense of how much latency there is on the receive side using Dump1090 on a Pi4. I noticed this comment in the RTL-SDR code:
https://github.com/flightaware/dump1090/blob/f862b530c8cea51f4bb9e72356579be67818dcaf/sdr_rtlsdr.c#L56-L59

I was wondering if the __arm__ flag gets defined in the BuildX system from arm/v7 images?

The commit message explains a bit more:
flightaware/dump1090@653ad61

I am trying to use ADS-B messages to take picture of aircraft as they fly by, so I am trying to account for all the latency in the messages: https://github.com/IQTLabs/SkyScan

@mikenye
Copy link
Member

mikenye commented Jul 4, 2021

Hi @luke-iqt,

I don't know the answer to your question, however when the build process runs it is run using QEMU emulating the target hardware. So for all intents and purposes, it should be an ARM system.

I added a uname -a into the Dockerfile of a temporary branch, and created a draft PR to allow github actions to run. Results for the test builds for each arch are as follows:

If there's any way I can help you answer this question please let me know. I am not a C programmer so I'm not sure how else to answer your question without further gudance.

@mikenye
Copy link
Member

mikenye commented Aug 24, 2021

Closing due to inactivity

@mikenye mikenye closed this as completed Aug 24, 2021
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

No branches or pull requests

2 participants