Skip to content

Speed up mozangle build on Windows #58

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

Merged
merged 1 commit into from
Jul 1, 2023
Merged

Conversation

mrobinson
Copy link
Member

  • The source of angle was being compiled into each DLL even though the angle.lib file was passed as an argument to the compiler.
  • When compiling on Visual Studio cl the /MP argument enables parallel compilation. This is still serial on clang-cl.exe unfortunately.
  • Make the build.rs file more resilient when passing different options. Notably, build_dlls and egl now produce an error on any other platform than Windows.
  • Update the version.

@mrobinson mrobinson force-pushed the speed-up-mozangle branch 2 times, most recently from 9ace546 to d11b535 Compare July 1, 2023 12:08
 - The source of angle was being compiled into each DLL even though the
   angle.lib file was passed as an argument to the compiler.
 - When compiling on Visual Studio cl the /MP argument enables parallel
   compilation. This is still serial on clang-cl.exe unfortunately.
 - Make the build.rs file more resilient when passing different options.
   Notably, build_dlls and egl now produce an error on any other
   platform than Windows.
 - Update the version.
@mrobinson mrobinson force-pushed the speed-up-mozangle branch from d11b535 to a5125d9 Compare July 1, 2023 12:20
@mrobinson
Copy link
Member Author

This seems to drop Windows CI times from 30 minutes to 10.

@jdm
Copy link
Member

jdm commented Jul 1, 2023

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit a5125d9 has been approved by jdm

@bors-servo
Copy link
Contributor

⌛ Testing commit a5125d9 with merge 235cf2b...

@bors-servo
Copy link
Contributor

☀️ Test successful - checks-github
Approved by: jdm
Pushing 235cf2b to master...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants