Followed instructions in README.md, don't know how to go further than that. Tested on MacBookAir10,1 with M1. ```bash % git clone https://github.com/moby/hyperkit Cloning into 'hyperkit'... remote: Enumerating objects: 3761, done. remote: Total 3761 (delta 0), reused 0 (delta 0), pack-reused 3761 Receiving objects: 100% (3761/3761), 12.72 MiB | 19.19 MiB/s, done. Resolving deltas: 100% (1950/1950), done. % cd hyperkit % make gen src/lib/dtrace.d cc src/lib/vmm/intel/vmcs.c error: include location '/usr/local/include' is unsafe for cross-compilation [-Werror,-Wpoison-system-directories] 1 error generated. make: *** [build/lib/vmm/intel/vmcs.o] Error 1 ```
Activity
chadbrewbaker commentedon Nov 19, 2020
I know homebrew is using /opt/homebrew. Perhaps do /opt/hyperkit ?
chadbrewbaker commentedon Nov 19, 2020
See machyve/xhyve#206 . You get that error when building with make instead of xcodebuild.
Issue is probably best categorized hyperkit is waiting on macOS aarch64 support in xhyve.
Code-Hex commentedon Dec 4, 2020
I could compile this but architecture is x86_64.
brew install llvmand use that's clang (version 11.0.0)nikolasrieble commentedon Jul 6, 2021
I could compile on the M1 without any patch. Thus I think this issue can be closed.
Also see #310 for a follow up issue.
rn commentedon Jul 6, 2021
It won't work though. all of the low level code in hyperkit is x86 specific. I'm not aware of porting any of the code to work on M1 so closing for now