You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@
26
26
## Summary
27
27
Automated chrome cef building and/or cefsharp building dockerfiles and scripts.
28
28
29
-
While the processes of building CEF and CEFSHARP are not hard they require a very exacting environment and build steps can take a _long_ time so are annoying to repeat. The goal if this repo is a collection of scripts to automate everything to make it easy for anyone to do. We are using Docker to run everything in a container as it makes it much easier to reproduce and won't pollute your dev environment with all the pre-reqs. You can easily tweak the exact versions you want to build, and the build flags. From creating a VM on your cloud provider of choice (or your own machine) it is about 20 minutes of setup, starting a build script, and just waiting a few hours for it to spit out the compiled binaries. It has been tested with 63, 65, and 67 but would likely work for any modern chrome build without changes (in most cases).
29
+
While the processes of building CEF and CEFSHARP are not hard they require a very exacting environment and build steps can take a _long_ time so are annoying to repeat. The goal if this repo is a collection of scripts to automate everything to make it easy for anyone to do. We are using Docker to run everything in a container as it makes it much easier to reproduce and won't pollute your dev environment with all the pre-reqs. You can easily tweak the exact versions you want to build, and the build flags. From creating a VM on your cloud provider of choice (or your own machine) it is about 20 minutes of setup, starting a build script, and just waiting a few hours for it to spit out the compiled binaries. It has been tested with 63, 65, 67, and 69 but would likely work for any modern chrome build without changes (in most cases).
30
30
31
31
32
32
## Thanks
@@ -45,7 +45,7 @@ In part we use the latest version of several installers/build tools if they chan
45
45
Window 10 Client (Pro) by default with docker uses HyperV isolation, this mode is very non performant vs process isolation mode.
46
46
47
47
## Requirements
48
-
The following requirements are for chrome 63(and more or less 65and 67) and the current vs_2017 installer, they may change over time. Compiling is largely CPU bound but linking is largely IO bound.
48
+
The following requirements are for chrome 63(and more or less 65, 67 and 69) and the current vs_2017 installer, they may change over time. Compiling is largely CPU bound but linking is largely IO bound.
49
49
50
50
- At least 20GB of ram dedicated to this would recommend 30GB total with page file to make sure you don't run out (older builds like 63 were 32GB with 40GB total). You can have any amount of that 20/30GB as a page file, just beware the less actual ram the much slower linking will be.
51
51
- At least 250GB of space.
@@ -136,8 +136,8 @@ You could also expose the docker server to the internet and use remote docker co
136
136
137
137
### Estimated time requirements
138
138
With the Azure F32 v2 host above the total estimated build time is about 2.1 hours (~$6 on azure). Machines are nice 600MB/sec read/write to the local disk. The time could be cut close to in half if you used a F64 v2 VM, but your cost will remain the same (as its twice the price for twice the power). Note it can vary somewhat dramatically for the not cef build steps based on the luck of the draw (but the cef build is most of the build time). It seems local IO depending on what physical host it is spun up on can cause 30-50% performance fluxes. Most of the build steps make efficient use of the machine however: The git cloning is not very efficient. It is 30 minutes of the cef build time below. It doesn't quite max out network or IO. The linking stage is also not super efficient see the DUAL_BUILD flag below to help with that. Linking will take 20+ minutes per platform (40 total unless run concurrently). Here are the individual build/commit times:
0 commit comments