this post was submitted on 18 Dec 2024
2 points (100.0% liked)
Experienced Devs
4035 readers
12 users here now
A community for discussion amongst professional software developers.
Posts should be relevant to those well into their careers.
For those looking to break into the industry, are hustling for their first job, or have just started their career and are looking for advice, check out:
- Logo base by Delapouite under CC BY 3.0 with modifications to add a gradient
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
4h build times... ouch! I'm betting this is Rust or TypeScript.
Actually, C++. An enormous codebase plus we build all dependencies from source. I asked my dev lead why we don't have access to pre-compiled dependencies and he answered with a mix of embarrassment and "that's just how it's done".
A 4h build would be OK if I only needed to do it once. However, our source control system lacks even a basic conception of branches, so each new ticket requires destroying and regenerating your workspace.
Now I don't understand that. Complete your ticket, pull in changes from other and carry on.
What SCM are you using?
Perforce
We manage branches by taking an existing path on the perforce server, duplicating its contents, and then copying them to a differently named directory while registering that new path serverside.
So on paper, I can tell my local client to map my files to that new remote path, and then trigger a sync. In my experience, the sync treats my branch jumping as pulling completely new files. It touches everything in my work directory. As far as our makefiles are concerned, this means everything has to rebuild.
Use ccache.