You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "lupyuen (via GitHub)" <gi...@apache.org> on 2024/10/28 06:41:43 UTC
[I] [FEATURE] Porting NuttX CI Job from Intel Mac to Apple Silicon Mac [nuttx]
lupyuen opened a new issue, #14526:
URL: https://github.com/apache/nuttx/issues/14526
### Is your feature request related to a problem? Please describe.
[As suggested by Nathan:](https://lists.apache.org/thread/2v0wry8q09st8q8x21cnbzrwh6tfr8xr) 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](https://github.com/apache/nuttx/blob/master/.github/workflows/build.yml#L250) (on macOS) calls [cibuild.sh](https://github.com/apache/nuttx/blob/master/tools/ci/cibuild.sh):
```bash
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](https://github.com/apache/nuttx/blob/master/tools/ci/cibuild.sh) calls [darwin.sh](https://github.com/apache/nuttx/blob/master/tools/ci/platforms/darwin.sh) which:
1. [Fails to install gperf](https://gist.github.com/lupyuen/1331e5dc941ed5ce4bbaf32ea427694b) and kconfig_frontends. So we comment out the script and install gperf, kconfig_frontends ourselves.
1. Then it [fails to install Cython](https://gist.github.com/lupyuen/caa3a736610261ed6c1710271bbdadee). And we're stuck here:
```bash
+ 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](https://github.com/apache/nuttx/blob/master/tools/ci/cibuild.sh) and [darwin.sh](https://github.com/apache/nuttx/blob/master/tools/ci/platforms/darwin.sh) running successfully on Apple Silicon Macs because:
- Intel Macs are becoming obsolete (Apple still supports them, but doesn't sell them)
- And folks like me can run the NuttX CI Job on [Our Own Build Servers](https://lupyuen.codeberg.page/articles/ci2.html)
### Describe alternatives you've considered
_No response_
### Verification
- [X] I have verified before submitting the report.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [FEATURE] Porting NuttX CI Job from Intel Mac to Apple Silicon Mac [nuttx]
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 closed issue #14526: [FEATURE] Porting NuttX CI Job from Intel Mac to Apple Silicon Mac
URL: https://github.com/apache/nuttx/issues/14526
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [FEATURE] Porting NuttX CI Job from Intel Mac to Apple Silicon Mac [nuttx]
Posted by "lupyuen (via GitHub)" <gi...@apache.org>.
lupyuen commented on issue #14526:
URL: https://github.com/apache/nuttx/issues/14526#issuecomment-2464749705
__Update:__ NuttX CI runs OK on Mac Mini M2 Pro yay!
- https://github.com/apache/nuttx/pull/14691#issuecomment-2464745664
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org