Skip to content
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

Download usable macOS SDK during bootstrap #25920

Closed
wants to merge 1 commit into from
Closed

Conversation

@jdm
Copy link
Member

jdm commented Mar 6, 2020

This renames the bootstrap mach command to bootstrap-build because the bootstrap name is hardcoded into mach in a way that interferes with the actual command execution (#25224). These changes also support automatically setting up a 10.14 SDK on macOS 10.15, which is needed to build spidermonkey since #25678 merged.

Depends on servo/mozjs#233.

  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #25919
  • These changes do not require tests because there are no 10.15 test machines
@highfive
Copy link

highfive commented Mar 6, 2020

Heads up! This PR modifies the following files:

  • @wafflespeanut: python/servo/bootstrap.py, python/servo/command_base.py, python/servo/post_build_commands.py, python/servo/util.py, python/servo/build_commands.py and 1 more
@jdm jdm force-pushed the jdm:mozjs-macos-sdk branch from da70e0a to 1885b3d Mar 6, 2020
Copy link
Member

nox left a comment

Seems ok but I'm pretty concerned about this.

sdk_file = TARGET_MACOS_SDK + ".tar.xz"
archive_path = os.path.join(deps_dir, sdk_file)
print('Downloading SDK for macOS 10.14...')
sdk_url = "https://github.com/phracker/MacOSX-SDKs/releases/download/10.15/" + sdk_file

This comment has been minimized.

@nox

nox Mar 9, 2020

Member

I'm not in favour of downloading and installing things off a random GH account, tbh. Why can't those be installed from Apple stuff?

This comment has been minimized.

@jdm

jdm Mar 9, 2020

Author Member

My assumption is that they're not available in a convenient place. Doesn't matter with your backport, though.

@jdm jdm closed this Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

4 participants
You can’t perform that action at this time.