![]() # The following are necessary to make `gclient sync` work on MacOS ARM64,Įxport VPYTHON_BYPASS="manually managed python not supported by chrome operations"Įcho "export VPYTHON_BYPASS=\"manually managed python not supported by chrome operations\"" > ~/.zshrc ![]() # Optionally, add this to your ~/.zshrc if you are using zsh, or anyĮcho "export PATH=$WORKSPACE_DIR/depot_tools:\$PATH" > ~/.zshrc ![]() fetch availableĮxport PATH=$WORKSPACE_DIR/depot_tools:$PATH Assuming you place your all projects under a $WORKSPACE_DIR (which is what I tend to do): 1 Setting up the build environmentįirst, download the depot_tools and bootstrap it as usual. Here are the steps I’ve taken to get V8 building on a M1 MacBook and hopefully it could help someone else on the Internet. It seems many open source projects still haven’t added MacOS with ARM64 into their support matrix, requiring a few extra steps to work properly, and V8 is no exception. I’ve recently got an M1 MacBook and played around with it a bit.
0 Comments
Leave a Reply. |