mirror of
https://github.com/servo/servo.git
synced 2025-06-17 12:54:28 +00:00
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:
commit
bdaf50e309
1 changed files with 3 additions and 1 deletions
|
@ -470,7 +470,9 @@ class MachCommands(CommandBase):
|
||||||
|
|
||||||
if magicleap:
|
if magicleap:
|
||||||
if platform.system() not in ["Darwin"]:
|
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")
|
ml_sdk = env.get("MAGICLEAP_SDK")
|
||||||
if not ml_sdk:
|
if not ml_sdk:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue