Auto merge of #22281 - Manishearth:ml-linux, r=asajeffrey

Instructions for checking magicleap builds on linux

Needed to test a build failure, but couldn't on linux. This should be a
decent stop gap for now.

r? @asajeffrey

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22281)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-11-28 10:26:03 -05:00 committed by GitHub
commit bdaf50e309
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -470,7 +470,9 @@ class MachCommands(CommandBase):
if magicleap:
if platform.system() not in ["Darwin"]:
raise Exception("Magic Leap builds are only supported on macOS.")
raise Exception("Magic Leap builds are only supported on macOS. "
"If you only wish to test if your code builds, "
"run ./mach build -p libmlservo.")
ml_sdk = env.get("MAGICLEAP_SDK")
if not ml_sdk: