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

[FEATURE] Porting NuttX CI Job from Intel Mac to Apple Silicon Mac #14526

Closed
1 task done
lupyuen opened this issue Oct 28, 2024 · 1 comment · Fixed by #14691
Closed
1 task done

[FEATURE] Porting NuttX CI Job from Intel Mac to Apple Silicon Mac #14526

lupyuen opened this issue Oct 28, 2024 · 1 comment · Fixed by #14691
Labels
Type: Enhancement New feature or request

Comments

@lupyuen
Copy link
Member

lupyuen commented Oct 28, 2024

Is your feature request related to a problem? Please describe.

As suggested by Nathan: We seek help to port our NuttX CI Job from Intel Mac to Apple Silicon Mac (M1, M2, etc).

Today our CI Workflow build.yml (on macOS) calls cibuild.sh:

cd nuttx/tools/ci
./cibuild.sh -i -c -A -R testlist/macos.dat

Which runs OK on Intel Mac. But on Apple Silicon Mac, cibuild.sh calls darwin.sh which:

  1. Fails to install gperf and kconfig_frontends. So we comment out the script and install gperf, kconfig_frontends ourselves.

  2. Then it fails to install Cython. And we're stuck here:

    + pip3 install 'Cython<3.0'
    error: externally-managed-environment
    × This environment is externally managed
    ╰─> To install Python packages system-wide, try brew install

Describe the solution you'd like

We hope to have cibuild.sh and darwin.sh running successfully on Apple Silicon Macs because:

Describe alternatives you've considered

No response

Verification

  • I have verified before submitting the report.
@lupyuen lupyuen added the Type: Enhancement New feature or request label Oct 28, 2024
@lupyuen lupyuen linked a pull request Nov 7, 2024 that will close this issue
@lupyuen
Copy link
Member Author

lupyuen commented Nov 8, 2024

Update: NuttX CI runs OK on Mac Mini M2 Pro yay!

And our macOS Build Farm is up! 🎉

Screenshot 2024-11-10 at 4 52 09 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant