-
Couldn't load subscription status.
- Fork 727
enhance development support on macOS ARM #1163
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
enhance development support on macOS ARM #1163
Conversation
Signed-off-by: Keith Zantow <[email protected]>
ae00ef5 to
c198587
Compare
Signed-off-by: Keith Zantow <[email protected]>
|
@tgerla I think you're the only other person with an M1 mac currently that I know that could test this. If anyone in the community has one and can validate these changes then that would be great! |
| @@ -1,3 +1,5 @@ | |||
| //go:build !arm64 | |||
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.
Nice!
| @@ -1,4 +1,4 @@ | |||
| FROM jenkins:2.60.3 | |||
| FROM jenkins/jenkins:2.346.3-slim-jdk17 | |||
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 for the update here - was this causing an issue on macOS ARM?
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.
Yes, there were no arm images prior to this version, or at least... this version works with our tests and provides arm images :)
|
confirmed that these Makefile changes are still backwards compatible on non macOS ARM platforms and do not change development workflows besides enhancing compatibility |
|
This is working fine for me on my M1 Mac. The only thing that fails is the build step that generates a .deb. It looks like some sort of architecture mismatch. Maybe that amd64 deb build can be skipped on arm64 configurations? (full build log: https://gist.github.com/tgerla/4e986e37eadcefeb1dea8742f25c8b45) |
|
I think all that's needed here is to resolve the Makefile conflicts. We can address @tgerla's comment in a separate PR since I think there is a non-obvious way to skip/fix that check on the m2 |
|
TBD - exclusion/fix of build to resolve: https://gist.github.com/tgerla/4e986e37eadcefeb1dea8742f25c8b45 |
* main: Update syft bootstrap tools to latest versions. (#1176) enhance development support on macOS ARM (#1163) Capture if a node module is private (#1161) Find version numbers from jars with different naming conventions (#1174) Update syft bootstrap tools to latest versions. (#1171) Fix update-bootstrap-tools workflow (#1170) workflow to create automated PRs to update bootstrap tools (#1167) feat: add support for licenses in package-lock json v2 (#1164) External sources configuration (#1158) feat: add support for pnpm (#1166) Prevent symlinks causing duplicate package-file relationships (#1168) Associate node package licenses from node_modules (#1152)
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
This PR adds support for building and testing Syft using
makeonmacOSwithARM-based processors, predominantly by upgrading base images which includearmsupport.