Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Conversation

@dnfield
Copy link
Contributor

@dnfield dnfield commented Dec 11, 2020

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.

@zanderso
Copy link
Member

Do the symlinks need to go in a .gitignore?

@dnfield
Copy link
Contributor Author

dnfield commented Dec 11, 2020

They're created in a generated out directory - e.g. out/host_debug_unopt/gen/MacOSX11.0.sdk.

from optparse import OptionParser


def mkdir_p(path):
Copy link
Member

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?

Copy link
Contributor Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: please add comments

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@dnfield dnfield merged commit 137ddfc into flutter:master Dec 11, 2020
dnfield added a commit to flutter/engine that referenced this pull request Dec 11, 2020
See flutter/buildroot#417

This helps make GOMA work on macOS related builds.
dnfield added a commit to flutter/engine that referenced this pull request Dec 15, 2020
* Roll buildroot to flutter/buildroot@64bf320

See flutter/buildroot#417

This helps make GOMA work on macOS related builds.
gspencergoog pushed a commit to gspencergoog/engine that referenced this pull request Jan 5, 2021
* Roll buildroot to flutter/buildroot@64bf320

See flutter/buildroot#417

This helps make GOMA work on macOS related builds.
chinmaygarde pushed a commit to chinmaygarde/flutter_buildroot that referenced this pull request May 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants