Skip to content

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

Description

@lupyuen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions