-
Notifications
You must be signed in to change notification settings - Fork 92
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
CI costs too much time when building ocjs #212
Comments
Yeah, CI costs are extremely high at the moment. The ~5 hour builds actually happened on a compute instance with 56 cores, if I remember correctly. So, that's not great. I've been doing lots of prototyping over the last couple of months to address this and other problems with the library (will write some sort of blog post on that, soon). For improving build times, here's roughly what I have in mind:
Step 1 is probably going to have the biggest impact and should be doable without major rewrites. |
@donalffons may i ask, would you plan to use cmake & emcmake buildkit? |
Yes, I'm definitely planning to move back to using OCCT's CMake build system, soon. I have been doing some prototyping locally with CMake and it's much better than how it's currently handled in this project. I'm currently working on collecting and prioritizing all these improvements. I'm planning to have everything ready to start making another round of iterations / improvements in a few weeks, I hope. In case you have more suggestions - keep posting them! |
Hi @donalffons I noticed the CI runner of this project is self-hosted, could you tell me about the detail configuration of that machine(cpu, mem, OS, .etc)? I made some changes to occt source code, tried compiling my customzied opencascade.wasm on my laptop which has 32Gi memory but failed. Then I feel I should look for a higher performance machine. Any thing about self-hosted runner machine would help a lot, thanks! |
You need at least 40-50 Gigs of memory to run an optimized |
I inspected the history of the GitHub Action of the project, surprisedly found that building ocjs job would cost so much time. Are there some ways we could take to decrease that?
The text was updated successfully, but these errors were encountered: