-
Notifications
You must be signed in to change notification settings - Fork 254
Make symlinks so that RBE will work for Xcode toolchains #417
Conversation
|
Do the symlinks need to go in a .gitignore? |
|
They're created in a generated out directory - e.g. |
build/mac/find_sdk.py
Outdated
| from optparse import OptionParser | ||
|
|
||
|
|
||
| def mkdir_p(path): |
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.
Is there any way to avoid copying this to several places?
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.
Yeah. I also realize that I need to fix this so it replaces the symlink incase you e.g. update or move Xcode for some reason.
|
|
||
| import errno | ||
| import os | ||
|
|
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.
nit: please add comments
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.
Done
See flutter/buildroot#417 This helps make GOMA work on macOS related builds.
* Roll buildroot to flutter/buildroot@64bf320 See flutter/buildroot#417 This helps make GOMA work on macOS related builds.
* Roll buildroot to flutter/buildroot@64bf320 See flutter/buildroot#417 This helps make GOMA work on macOS related builds.
See flutter/flutter#72032
This creates symlinks for the macOS SDK, iPhone SDK, and Xcode toolchain sysroot in the gen dir. That way, RBE won't fail when it tries to access a file based on an absolute path to /Applications/whatever on mac based host/iOS builds.